# $Id$ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> pkgname=libbsd pkgver=0.7.0 pkgrel=1 pkgdesc="Provides useful functions commonly found on BSD systems like strlcpy()" arch=('i686' 'x86_64') url="http://libbsd.freedesktop.org" license=('custom') depends=('glibc') options=('staticlibs') source=("http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc}) md5sums=('fcceb4e66fd448ca4ed42ba22a8babb0' 'SKIP') build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr make } check() { cd "$pkgname-$pkgver" make check } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install rm "${pkgdir}"/usr/lib/libbsd.a install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et: