diff options
author | narunlifescience | 2016-05-06 00:52:07 -0500 |
---|---|---|
committer | narunlifescience | 2016-05-06 00:52:07 -0500 |
commit | 35e2c1fd67848e0d0278fc0a079b0f39f34016be (patch) | |
tree | 020d43367cc6c3c570a3889c87744a29473894da /PKGBUILD | |
download | aur-35e2c1fd67848e0d0278fc0a079b0f39f34016be.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f4ab8c66776a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor: Arun Narayanankutty <n.arun.lifescience@gmail.com> + +pkgname=alphaplot +pkgver=0.01 +pkgrel=1 +pkgdesc="Application for Scientific Data Analysis and Visualization, fork of SciDavis" +arch=('i686' 'x86_64') +license=('GPL-2') + +# make dependancies +makedepends=('boost' 'cmake') +depends=('gsl' 'glu' 'mesa' 'muparser' 'python2-pyqt4' 'shared-mime-info' + 'qwt5' 'qwtplot3d') + +# source download from git repo & prepare +source=(git+https://github.com/narunlifescience/alphaplot.git) +install=${pkgname}.install +sha256sums=('SKIP') +prepare() { + cd "${srcdir}" +} + +# start building +build() { + cd "${srcdir}/${pkgname}" + qmake-qt4 + make +} + +# prepare package +package() { + cd "${srcdir}/${pkgname}" + make INSTALL_ROOT="${pkgdir}" DESTDIR="${pkgdir}" install + + # remove liborigin files since it uses static library + rm -rf "${pkgdir}/usr/local" +} |