summaryrefslogtreecommitdiff
path: root/core/keyutils
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-16 22:43:10 +0000
committerroot <root@rshg047.dnsready.net>2011-05-16 22:43:10 +0000
commit2f0d12506e7145c0fe4c056e4fbcda1e724dda95 (patch)
tree8239b0d9ccc81417341ef1798c9bb8a99edce48d /core/keyutils
parenta45aa8f19ea32f45610dafabfc06c8b7d1ed5cfe (diff)
Mon May 16 22:43:24 UTC 2011
Diffstat (limited to 'core/keyutils')
-rw-r--r--core/keyutils/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/keyutils/PKGBUILD b/core/keyutils/PKGBUILD
new file mode 100644
index 000000000..8e1810f9f
--- /dev/null
+++ b/core/keyutils/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 116950 2011-03-26 15:07:29Z tpowa $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
+pkgname=keyutils
+pkgver=1.4
+pkgrel=1
+pkgdesc="Linux Key Management Utilities"
+arch=(i686 x86_64)
+url="http://www.kernel.org"
+license=('GPL2' 'LGPL2.1')
+depends=('glibc' 'sh')
+backup=(etc/request-key.conf)
+source=(http://people.redhat.com/~dhowells/$pkgname/$pkgname-$pkgver.tar.bz2)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i -e '/CFLAGS/s|:= -g -O2|+=|' Makefile
+ make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+md5sums=('e168c1bdaf5aa93c2cbf8a5e7f8ef27b')