summaryrefslogtreecommitdiffstats
path: root/libcap-ng/MAKEPKG
blob: 831c42d47b47e496725be7cfd3147aec663a45c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/mkpkg
# description: A library for Linux that makes using posix capabilities easy
# url: https://people.redhat.com/sgrubb/libcap-ng/

name=libcap-ng
version=0.9.2
release=1
source=(https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v$version/$name-$version.tar.gz)

sha256sums=(
    "df6910d996818848de92db9c05f96492e008c4e35f96a8673f9b7cc44f5cf813"
)

build() {
    export CONFIG_SHELL=/bin/bash
    cd $name-$version

    ./autogen.sh
    ./configure \
    --prefix=/usr \
    --without-python3

    make
    make DESTDIR=$PKG install
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh