summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Jensen2015-08-01 02:49:51 +0200
committerJesper Jensen2015-08-01 02:49:51 +0200
commit330f22410f9720c676ae8feca24f0359a1348ea8 (patch)
treeea68f1b14b088034ab5213cfbc75ccb6fa6f66ae
parent8f1b07e6d6de3c8152a6fc58b45f2764e31396d2 (diff)
downloadaur-330f22410f9720c676ae8feca24f0359a1348ea8.tar.gz
Added install of headers
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD2
2 files changed, 6 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 63347d7c99a..29ec0293331 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,9 +3,12 @@ pkgbase = iniparser-git
pkgver = 73
pkgrel = 1
url = https://github.com/ndevilla/iniparser
- arch = any
+ arch = i686
+ arch = x86_64
+ arch = armv7h
license = MIT
makedepends = git
+ depends = glibc
provides = iniparser
conflicts = iniparser
source = git://github.com/ndevilla/iniparser.git
diff --git a/PKGBUILD b/PKGBUILD
index d154d26c3a5..43e8996e2e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,5 +30,7 @@ package() {
cd "$srcdir/$_pkgname"
install -D -m755 libiniparser.so.0 "${pkgdir}/usr/lib/libiniparser.so.0"
ln -s "libiniparser.so.0" "${pkgdir}/usr/lib/libiniparser.so"
+ install -D -m744 src/iniparser.h "${pkgdir}/usr/include/iniparser.h"
+ install -D -m744 src/dictionary.h "${pkgdir}/usr/include/dictionary.h"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}