1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Florian Pritz <bluewind@xinu.at>
3 # Contributor: Hugo Doria <hugo@archlinux.org>
9 pkgdesc="POSIX 1003.1e capabilities (32-bit)"
11 url="https://sites.google.com/site/fullycapable/"
26 source=(https://kernel.org/pub/linux/libs/security/linux-privs/${_name}2/$_name-$pkgver.tar.{xz,sign})
27 sha512sums=('647c307dc451517da9d089495ab959b4a6fbbe41c79f4e1e9bb663569dad630ead0c2e413dfb393319e3ea14dc9848c81b392107fe3382ce1813d278c3394a7f'
29 b2sums=('94d1fef7666a1c383a8b96f1f6092bd242164631532868b628d2f5de71b42a371d041a978ef7fbadfee3eeb433165444995d1078cd790275bc0433a7875a697e'
31 validpgpkeys=(38A644698C69787344E954CE29EE848AE2CCF3F4) # Andrew G. Morgan <morgan@kernel.org>
37 KERNEL_HEADERS=/usr/include
44 make "${make_options[@]}"
48 make test CC="gcc -m32" -k -C $_name-$pkgver
62 make "${make_options[@]}"
63 install -vDm 644 $_name-$pkgver/{CHANGELOG,README} -t "$pkgdir/usr/share/doc/$pkgname/"
64 # remove files provided by libcap
65 rm -rv "$pkgdir/usr/"{include,share/man,bin}