#!/bin/mkpkg # description: POSIX 1003.1e capabilities library # url: https://sites.google.com/site/fullycapable name=libcap2 version=2.78 release=1 source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.xz) depends=() makedeps=() sha256sums=( "0d621e562fd932ccf67b9660fb018e468a683d7b827541df27813228c996bb11" ) build() { cd libcap-$version # Remove static library install sed -i '/install -m.*STA/d' libcap/Makefile make \ CC=clang \ prefix=/ \ lib=lib \ SBINDIR=/sbin \ INCDIR=/include \ MANDIR=/usr/share/man \ PKGCONFIGDIR=/lib/pkgconfig \ GOLANG=no \ PAM_CAP=no make \ CC=clang \ prefix=/ \ lib=lib \ SBINDIR=/sbin \ INCDIR=/include \ MANDIR=/usr/share/man \ PKGCONFIGDIR=/lib/pkgconfig \ GOLANG=no \ PAM_CAP=no \ DESTDIR=$PKG \ install } signify() { untrusted comment: public key RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 } # vim: filetype=sh