diff options
Diffstat (limited to 'libcap-ng/MAKEPKG')
| -rw-r--r-- | libcap-ng/MAKEPKG | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libcap-ng/MAKEPKG b/libcap-ng/MAKEPKG new file mode 100644 index 0000000..831c42d --- /dev/null +++ b/libcap-ng/MAKEPKG | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | #!/bin/mkpkg | ||
| 2 | # description: A library for Linux that makes using posix capabilities easy | ||
| 3 | # url: https://people.redhat.com/sgrubb/libcap-ng/ | ||
| 4 | |||
| 5 | name=libcap-ng | ||
| 6 | version=0.9.2 | ||
| 7 | release=1 | ||
| 8 | source=(https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v$version/$name-$version.tar.gz) | ||
| 9 | |||
| 10 | sha256sums=( | ||
| 11 | "df6910d996818848de92db9c05f96492e008c4e35f96a8673f9b7cc44f5cf813" | ||
| 12 | ) | ||
| 13 | |||
| 14 | build() { | ||
| 15 | export CONFIG_SHELL=/bin/bash | ||
| 16 | cd $name-$version | ||
| 17 | |||
| 18 | ./autogen.sh | ||
| 19 | ./configure \ | ||
| 20 | --prefix=/usr \ | ||
| 21 | --without-python3 | ||
| 22 | |||
| 23 | make | ||
| 24 | make DESTDIR=$PKG install | ||
| 25 | } | ||
| 26 | |||
| 27 | signify() { | ||
| 28 | untrusted comment: public key | ||
| 29 | RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 | ||
| 30 | } | ||
| 31 | |||
| 32 | # vim: filetype=sh | ||