summaryrefslogtreecommitdiff
path: root/community/libbsd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-22 23:15:13 +0000
committerroot <root@rshg054.dnsready.net>2012-01-22 23:15:13 +0000
commit164067832916c8e59219e1b0f30d7d04618a536e (patch)
tree5ec718dc77dfccfcdb1409707658bef3fb421ac4 /community/libbsd/PKGBUILD
parenta1922d0ec660fdc1892f2783515f781c090df0a9 (diff)
Sun Jan 22 23:15:13 UTC 2012
Diffstat (limited to 'community/libbsd/PKGBUILD')
-rw-r--r--community/libbsd/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/libbsd/PKGBUILD b/community/libbsd/PKGBUILD
new file mode 100644
index 000000000..23bb96d5a
--- /dev/null
+++ b/community/libbsd/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
+
+pkgname=libbsd
+pkgver=0.3.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')
+source=(http://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.gz
+ LICENSE)
+md5sums=('833e58531b4bd84b119b53d834d8e0d8'
+ '5bd59ff83a7df4873b034478ffae62a6')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make exec_prefix=/usr includedir=/usr/include/libbsd
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make exec_prefix=/usr includedir=/usr/include/libbsd DESTDIR=$pkgdir install
+ install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: