# Contributor: Leo # Maintainer: Leo pkgname=bcnm pkgver=0.0.1.0 pkgrel=0 pkgdesc="Better Client Network Manager" url="https://skarnet.org/software/bcnm" arch="all" license="ISC" makedepends="skalibs-dev linux-headers" subpackages="$pkgname-dev $pkgname-doc" source="https://skarnet.org/software/bcnm/bcnm-$pkgver.tar.gz" build() { ./configure \ --enable-shared \ --enable-static \ --disable-allstatic \ --prefix=/usr \ --libdir=/usr/lib \ --libexecdir="/usr/lib/$pkgname" \ --with-dynlib=/lib make } package() { make DESTDIR="$pkgdir" install } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="abe37c2629baa3c583734c7f783565c52f376ff553c503b5666e081cce042efa2e4d2a219b4911b23ea1c437f1ab0d9d1a928cc5126d8efb65e2981b86b220e1 bcnm-0.0.1.0.tar.gz"