# Packager: Phill Watkins pkgname=libbsd pkgver=0.2.0 pkgrel=1pw #arch=noarch source=("http://libbsd.freedesktop.org/releases/libbsd-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/pwatk/packages/l/$pkgname/$pkgver docs=("ChangeLog" "README" "TODO" "Versions") url=http://libbsd.freedesktop.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libbsd (Utility functions from BSD systems)" "This library provides useful functions commonly found on BSD systems," "and lacking on others like GNU systems, thus making it easier to port" "projects with strong BSD origins, without needing to embed the same" "code over and over again on each project." ) build() { set -e cd $startdir/src/$pkgname-$pkgver make \ prefix=/usr \ exec_prefix=/usr \ libdir=/usr/lib${LIBDIRSUFFIX} \ usrlibdir=/usr/lib${LIBDIRSUFFIX} \ make install \ DESTDIR=$startdir/pkg \ prefix=/usr \ exec_prefix=/usr \ libdir=/usr/lib${LIBDIRSUFFIX} \ usrlibdir=/usr/lib${LIBDIRSUFFIX} \ mandir=/usr/man set +e }