description='Package compiler and linker metadata toolkit'
url='http://pkgconf.org/'

packager="spiky <spiky@nutyx.org>"
contributors="Tnut"

set=(devel)

name=pkgconf
version=2.1.1

source=(https://distfiles.ariadne.space/$name/$name-$version.tar.xz)

build() {
cd $name-$version
./configure --prefix=/usr \
            --disable-static           \
            --docdir=/usr/share/doc/$name-$version
make
make DESTDIR=$PKG install

ln -sv pkgconf   $PKG/usr/bin/pkg-config
ln -sv pkgconf.1 $PKG/usr/share/man/man1/pkg-config.1
}
