# Maintainer: Natanael Copa pkgname=libcap pkgver=2.24 pkgrel=0 pkgdesc="POSIX 1003.1e capabilities" arch="all" license="GPL" url="http://www.friedhoff.org/posixfilecaps.html" depends= makedepends_build="perl" makedepends_host="attr-dev linux-headers" makedepends="$makedepends_build $makedepends_host" source="https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-dev" _builddir="$srcdir"/$pkgname-$pkgver build () { cd "$_builddir" make BUILD_CC=gcc CC="${CC:-gcc}" lib=/lib prefix=/usr DESTDIR="$pkgdir" } package() { cd "$_builddir" make lib=/lib prefix=/usr RAISE_SETFCAP=no DESTDIR="$pkgdir" install } md5sums="d43ab9f680435a7fff35b4ace8d45b80 libcap-2.24.tar.xz" sha256sums="cee4568f78dc851d726fc93f25f4ed91cc223b1fe8259daa4a77158d174e6c65 libcap-2.24.tar.xz" sha512sums="c062bab936d651a50efa66dcfa51ab3ce4b0881195d23bb32142b5c8044d30e0e2152f3497844ce90c04f909aeffe2d41203efff41972e38758dcca7b653884b libcap-2.24.tar.xz"