# Description: A library for Linux that makes using posix capabilities easy
# URL: https://people.redhat.com/sgrubb/libcap-ng/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on:

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

build() {
    cd $name-$version

    ./autogen.sh
    ./configure --prefix=/usr

    make
    make DESTDIR=$PKG install

    rm -r $PKG/usr/share/bash-completion/
}
