summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-21 16:55:21 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-22 02:22:33 -0300
commit018bdb53f407176b38b78188ac9b0b39935259fd (patch)
tree2cf5ff3dbef33cb816a080d9517cdfbd9ad315ea /libre
parente1ac326198d332ed7ad29b0819c79f0c40f68c74 (diff)
downloadabslibre-018bdb53f407176b38b78188ac9b0b39935259fd.tar.gz
abslibre-018bdb53f407176b38b78188ac9b0b39935259fd.tar.bz2
abslibre-018bdb53f407176b38b78188ac9b0b39935259fd.zip
keyutils-static: add new package to [libre]
Diffstat (limited to 'libre')
-rw-r--r--libre/keyutils-static/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/libre/keyutils-static/PKGBUILD b/libre/keyutils-static/PKGBUILD
new file mode 100644
index 000000000..9a34d5a43
--- /dev/null
+++ b/libre/keyutils-static/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# based of keyutils
+
+_pkgname=keyutils
+pkgname=keyutils-static
+pkgver=1.5.9
+pkgrel=1
+pkgdesc="Linux Key Management Utilities (static libraries only)"
+arch=('i686' 'x86_64' 'armv7h')
+url="http://www.kernel.org"
+license=('GPL2' 'LGPL2.1')
+depends=('keyutils')
+options=('staticlibs')
+source=(http://people.redhat.com/~dhowells/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2)
+md5sums=('7f8ac985c45086b5fbcd12cecd23cf07')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' install
+
+ # remove conflicting files
+ rm -vr ${pkgdir}/{{,s}bin,etc,usr/{include,share}}
+ rm -v ${pkgdir}/usr/lib/lib*.so*
+}