summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Papst2018-03-07 09:58:22 +0100
committerOliver Papst2018-03-07 09:58:22 +0100
commit973d228cee41360149f098a07cad3e266ec29aa2 (patch)
treefb3fba443e280a37473e95681307f71242b2fce4
parente151418f08a770fdedca8c8dd0b9879e73868bd9 (diff)
downloadaur-973d228cee41360149f098a07cad3e266ec29aa2.tar.gz
Added license file, glibc dependency
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 17dedc8c96f..508c60c9dcc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = hdtv
pkgdesc = Nuclear spectrum analysis tool on top of the ROOT data analysis toolkit
pkgver = 18.01
- pkgrel = 1
+ pkgrel = 2
url = https://gitlab.ikp.uni-koeln.de/staging/hdtv
arch = i686
arch = x86_64
license = GPL
makedepends = libx11
makedepends = python-docutils
+ depends = glibc
depends = python
depends = root
depends = libmfile
diff --git a/PKGBUILD b/PKGBUILD
index e87715d28f7..5b7505bf558 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,15 @@
pkgname=hdtv
_commit=701eecd65e6708e4ff6c0123c2f4972d56b3d499
pkgver=18.01
-pkgrel=1
+pkgrel=2
pkgdesc="Nuclear spectrum analysis tool on top of the ROOT data analysis toolkit"
arch=('i686' 'x86_64')
url="https://gitlab.ikp.uni-koeln.de/staging/hdtv"
license=('GPL')
conflicts=('hdtv')
provides=('hdtv')
-depends=('python'
+depends=('glibc'
+ 'python'
'root'
'libmfile'
'python-setuptools'
@@ -28,5 +29,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}-v${pkgver}-${_commit}"
- python setup.py install --root="$pkgdir/" --optimize=1
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 0644 license.md "${pkgdir}/usr/share/licenses/${pkgname}/"
}