summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉtienne Deparis2017-10-12 21:38:19 +0200
committerÉtienne Deparis2017-10-12 21:38:19 +0200
commit4e56b8f1031b25f5000cd4bdafce5ad9997756d9 (patch)
treeaa904f2af6f84d0af403ea92258acf5ca3605ba0
parent955e3242d4e6e7ae5f4d65d4a4f875665ccacc17 (diff)
downloadaur-4e56b8f1031b25f5000cd4bdafce5ad9997756d9.tar.gz
Fix include subdir
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd9c706466bc..e0809a55cee6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 5.0.2
-# Thu Oct 12 19:26:46 UTC 2017
+# Thu Oct 12 19:37:55 UTC 2017
pkgbase = libnitrokey
pkgdesc = Communicate with Nitrokey stick devices in a clean and easy manner
pkgver = 3.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.nitrokey.com
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index ca6eb642272f..31f45a946893 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libnitrokey
pkgver=3.0
-pkgrel=1
+pkgrel=2
pkgdesc="Communicate with Nitrokey stick devices in a clean and easy manner"
arch=('i686' 'x86_64')
url="https://www.nitrokey.com"
@@ -37,7 +37,8 @@ package() {
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd "${pkgdir}/usr/"
- mv include $pkgdir/usr/lib/${pkgname}/
+ mv include/libnitrokey $pkgdir/usr/lib/${pkgname}/include
+ rmdir include
mv lib64/libnitrokey.so lib/libnitrokey/
mv lib64/libnitrokey.so.3 lib/libnitrokey/