summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorOliver Papst2018-03-07 09:52:13 +0100
committerOliver Papst2018-03-07 09:56:56 +0100
commitad542852490a027dc3649aacdb6233e492227e27 (patch)
tree06e0a69615060717bda3ff98250e950e72ddb419 /PKGBUILD
parent46c6c11416e0b57f73228837d4f8e18c9bc0c493 (diff)
downloadaur-libmfile-git.tar.gz
Added license file, correct arch, glibc dependency
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5b81122fedd..c420e9bb460 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,16 @@
pkgname=libmfile-git
_pkgname=libmfile
pkgver=r57.a18a066
-pkgrel=1
+pkgrel=2
pkgdesc="Library for compressed storage of spectroscopy data in nuclear physics"
-arch=('any')
+arch=('i686' 'x86_64')
url="https://gitlab.ikp.uni-koeln.de/jmayer/libmfile"
license=('BSD')
conflicts=('libmfile')
provides=('libmfile')
-makedepends=('git' 'cmake')
+depends=('glibc')
+makedepends=('git'
+ 'cmake')
options=(!emptydirs)
source=('git+https://gitlab.ikp.uni-koeln.de/jmayer/libmfile.git#branch=anniversary')
sha256sums=('SKIP')
@@ -28,4 +30,6 @@ build() {
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR=${pkgdir} install
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 0644 license.md "${pkgdir}/usr/share/licenses/${pkgname}/"
}