diff options
author | Oliver Papst | 2017-12-20 16:19:06 +0100 |
---|---|---|
committer | Oliver Papst | 2017-12-20 16:23:46 +0100 |
commit | 2608b46e2fe1ab95498e2738319bc937c7fe63a4 (patch) | |
tree | 3205a3501f63a96c56fd719b33d6a08e2b15205b | |
download | aur-2608b46e2fe1ab95498e2738319bc937c7fe63a4.tar.gz |
Version v17.12 released
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0f329048ca71 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = hdtv-git + pkgdesc = Nuclear spectrum analysis tool on top of the ROOT data analysis toolkit + pkgver = r965.b2c4dcbd + pkgrel = 1 + url = https://gitlab.ikp.uni-koeln.de/staging/hdtv + arch = any + license = GPL + makedepends = git + makedepends = libx11 + makedepends = python-docutils + depends = python + depends = root + depends = libmfile + depends = python-setuptools + depends = python-scipy + depends = python-matplotlib + provides = hdtv + conflicts = hdtv + options = !emptydirs + source = git+https://gitlab.ikp.uni-koeln.de/staging/hdtv.git + sha256sums = SKIP + +pkgname = hdtv-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cfc868b4b996 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Oliver Papst <opapst at ikp dot tu-darmstadt dot de> +pkgname=hdtv-git +_pkgname=hdtv +pkgver=r965.b2c4dcbd +pkgrel=1 +pkgdesc="Nuclear spectrum analysis tool on top of the ROOT data analysis toolkit" +arch=('any') +url="https://gitlab.ikp.uni-koeln.de/staging/hdtv" +license=('GPL') +conflicts=('hdtv') +provides=('hdtv') +depends=('python' + 'root' + 'libmfile' + 'python-setuptools' + 'python-scipy' + 'python-matplotlib') +makedepends=('git' 'libx11' 'python-docutils') +#checkdepends=('python-pytest') +options=(!emptydirs) +source=('git+https://gitlab.ikp.uni-koeln.de/staging/hdtv.git') +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "${srcdir}/${_pkgname}/doc/guide" + make || return 1 +} + +package() { + cd "${srcdir}/${_pkgname}" + python setup.py install --root="$pkgdir/" --optimize=1 +} |