diff options
author | xiota | 2024-01-07 04:57:09 -0800 |
---|---|---|
committer | xiota | 2024-01-07 05:00:18 -0800 |
commit | 20ab5eb5e8862b814fe445b34b74f76cfa93a80a (patch) | |
tree | 688b70a6c631cb200df93d83956161e57addf8a8 | |
parent | a62039e6c3222eaf07f2659d362746b50a7e50e9 (diff) | |
download | aur-20ab5eb5e8862b814fe445b34b74f76cfa93a80a.tar.gz |
Update packaging
* Add missing makedep
* Update provides/conflicts
* Update description
* Update url, license
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 46 insertions, 24 deletions
@@ -1,23 +1,25 @@ pkgbase = alphaplot-git - pkgdesc = Application for Scientific Data Analysis and Visualization, fork of SciDavis / QtiPlot git version + pkgdesc = Application for Scientific Data Analysis and Visualization, fork of SciDavis / QtiPlot pkgver = 1.02.r19.gda97d1fa - pkgrel = 1 - url = http://alphaplot.sourceforge.net/ + pkgrel = 2 + url = https://github.com/narunlifescience/AlphaPlot arch = i686 arch = x86_64 - license = GPL2 + license = GPL-2.0-or-later makedepends = boost makedepends = cmake - makedepends = qt5-tools + makedepends = git makedepends = glu + makedepends = qt5-tools depends = gsl depends = hicolor-icon-theme depends = qt5-datavis3d depends = qt5-script depends = qt5-svg - provides = alphaplot + provides = alphaplot=1.02 conflicts = alphaplot - source = alphaplot-git::git+https://github.com/narunlifescience/AlphaPlot.git + conflicts = alphaplot-bin + source = alphaplot::git+https://github.com/narunlifescience/AlphaPlot.git sha256sums = SKIP pkgname = alphaplot-git @@ -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 } |