summaryrefslogtreecommitdiff
path: root/extra/libbsd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libbsd/PKGBUILD')
-rw-r--r--extra/libbsd/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/extra/libbsd/PKGBUILD b/extra/libbsd/PKGBUILD
index 7bc5012be..c2215585e 100644
--- a/extra/libbsd/PKGBUILD
+++ b/extra/libbsd/PKGBUILD
@@ -1,30 +1,38 @@
-# $Id: PKGBUILD 180872 2013-03-27 14:45:32Z tpowa $
+# $Id: PKGBUILD 188599 2013-06-16 20:01:01Z eric $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
pkgname=libbsd
-pkgver=0.4.2
+pkgver=0.5.2
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')
-source=(http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('591fc9de4ca22f78cf87a94e648a92f4')
+options=('!libtool')
+source=(http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz{,.asc})
+md5sums=('be8b2e0dc4614699834c49693574fd1a'
+ 'SKIP')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
./configure --prefix=/usr
make
}
+check() {
+ cd $pkgname-$pkgver
+
+ make check
+}
+
package() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
- make DESTDIR=$pkgdir install
- install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ make DESTDIR="$pkgdir" install
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et: