diff options
author | root <root@rshg047.dnsready.net> | 2011-05-02 22:32:52 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-02 22:32:52 +0000 |
commit | ddb2605f6bccbdb398f3937ff21e4688915a450d (patch) | |
tree | 2ff19812d00e0d9e891b2b40e43bb7a2f7cb2371 /testing/libcap | |
parent | 3be02a9acbeb006d9a9e6136c54d91064cc7d80e (diff) |
Mon May 2 22:32:52 UTC 2011
Diffstat (limited to 'testing/libcap')
-rw-r--r-- | testing/libcap/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/libcap/PKGBUILD b/testing/libcap/PKGBUILD new file mode 100644 index 000000000..2d91dbbf9 --- /dev/null +++ b/testing/libcap/PKGBUILD @@ -0,0 +1,26 @@ +#$Id: PKGBUILD 122049 2011-05-02 01:47:02Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: Hugo Doria <hugo@archlinux.org> + +pkgname=libcap +pkgver=2.21 +pkgrel=1 +pkgdesc="POSIX 1003.1e capabilities" +arch=('i686' 'x86_64') +url="http://www.kernel.org/pub/linux/libs/security/linux-privs/" +license=('GPL') +depends=('glibc' 'attr') +source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${pkgname}-${pkgver}.tar.gz) +md5sums=('61966ef40f2dee8731b69db895e4548d') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make prefix=/usr DESTDIR=${pkgdir} LIBDIR=${pkgdir}/lib RAISE_SETFCAP=no install + rm ${pkgdir}/lib/*.a + chmod 755 ${pkgdir}/lib/libcap.so.${pkgver} +} |