#!/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
