pkgname=libcap
pkgver=2.69
pkgrel=1
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz")
depends=(glibc)
prepare() {
cd "$pkgname-$pkgver"
sed -i '/install -m.*STA/d' libcap/Makefile
}
build() {
cd "$pkgname-$pkgver"
make prefix=/usr lib=lib GOLANG=no
}
package() {
cd "$pkgname-$pkgver"
make prefix=/usr lib=lib GOLANG=no DESTDIR="$pkgdir/" install
}
sha256sums=('f311f8f3dad84699d0566d1d6f7ec943a9298b28f714cae3c931dfd57492d7eb')