diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 54 |
1 files changed, 37 insertions, 17 deletions
@@ -1,38 +1,58 @@ # Maintainer: Bruno Silva <brunofernandes at ua dot pt> -pkgname=alphaplot-git +## useful links +# http://alphaplot.sourceforge.net/ +# https://github.com/narunlifescience/AlphaPlot + +_pkgname="alphaplot" +pkgname="$_pkgname-git" pkgver=1.02.r19.gda97d1fa -pkgrel=1 -pkgdesc="Application for Scientific Data Analysis and Visualization, fork of SciDavis / QtiPlot git version" -url='http://alphaplot.sourceforge.net/' +pkgrel=2 +pkgdesc="Application for Scientific Data Analysis and Visualization, fork of SciDavis / QtiPlot" +url="https://github.com/narunlifescience/AlphaPlot" arch=('i686' 'x86_64') -license=('GPL2') +license=('GPL-2.0-or-later') + +depends=( + 'gsl' + 'hicolor-icon-theme' + 'qt5-datavis3d' + 'qt5-script' + 'qt5-svg' +) +makedepends=( + 'boost' + 'cmake' + 'git' + 'glu' + 'qt5-tools' +) -# make dependancies -makedepends=('boost' 'cmake' 'qt5-tools' 'glu') -depends=('gsl' 'hicolor-icon-theme' 'qt5-datavis3d' 'qt5-script' 'qt5-svg') +provides=("$_pkgname=${pkgver%%.r*}") +conflicts=( + "$_pkgname" + 'alphaplot-bin' +) -# source download from git repo & prepare -source=("$pkgname::git+https://github.com/narunlifescience/AlphaPlot.git") +_pkgsrc="$_pkgname" +source=("$_pkgsrc"::"git+$url.git") sha256sums=('SKIP') -provides=('alphaplot') -conflicts=('alphaplot') pkgver() { - cd "$pkgname" + cd "$_pkgsrc" git describe --long --tags --exclude='*[a-zA-Z][a-zA-Z]*' \ | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } -# start building build() { - cd "$pkgname" + cd "$_pkgsrc" + # Note: PREFIX is not used qmake make } -# prepare package package() { - cd "$pkgname" + cd "$_pkgsrc" + # Note: DESTDIR is ignored make INSTALL_ROOT="${pkgdir}" install } |