diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 14 insertions, 12 deletions
@@ -5,7 +5,7 @@ pkgbase = alphaplot url = https://github.com/narunlifescience/AlphaPlot arch = i686 arch = x86_64 - license = GPL2 + license = GPL-2.0-or-later makedepends = boost makedepends = cmake makedepends = glu @@ -16,7 +16,6 @@ pkgbase = alphaplot depends = qt5-script depends = qt5-svg conflicts = alphaplot-bin - conflicts = alphaplot-git source = alphaplot-1.02.tar.gz::https://github.com/narunlifescience/AlphaPlot/archive/refs/tags/1.02.tar.gz sha256sums = 90952b2036b9d25b31c0c8fb34c47ff700bb2847234dda42d900070fc60d3c61 @@ -1,18 +1,24 @@ # Maintainer: # Contributor: Arun Narayanankutty <n.arun.lifescience@gmail.com> -#: ${_pkgtype:=git} +## useful links +# http://alphaplot.sourceforge.net/ +# https://github.com/narunlifescience/AlphaPlot -# basic info +## options +: ${_build_git:=false} + +[[ "${_build_git::1}" == "t" ]] && _pkgtype+="-git" + +## basic info _pkgname="alphaplot" -pkgname="$_pkgname${_pkgtype:+-$_pkgtype}" +pkgname="$_pkgname${_pkgtype:-}" pkgver=1.02 pkgrel=1 pkgdesc="Application for Scientific Data Analysis and Visualization, fork of SciDavis / QtiPlot" -#url="http://alphaplot.sourceforge.net/" url="https://github.com/narunlifescience/AlphaPlot" arch=('i686' 'x86_64') -license=('GPL2') +license=('GPL-2.0-or-later') # main package _main_package() { @@ -30,12 +36,9 @@ _main_package() { 'qt5-tools' ) - conflicts=( - alphaplot-bin - alphaplot-git - ) + conflicts=(alphaplot-bin) - if [ x"$pkgname" == x"$_pkgname" ] ; then + if [[ "${_build_git::1}" != "t" ]] ; then _main_stable else _main_git |