summaryrefslogtreecommitdiff
path: root/community/lockfile-progs
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-02 23:10:09 +0000
committerroot <root@rshg047.dnsready.net>2011-07-02 23:10:09 +0000
commit1732308adb7885b00fc388f978e65b3ad15aa067 (patch)
tree7a26cedab2b721f05a3b57ccf578787217f8a9a7 /community/lockfile-progs
parenta81bc5be2e3672119ca0313a1fde10397a31211e (diff)
Sat Jul 2 23:10:09 UTC 2011
Diffstat (limited to 'community/lockfile-progs')
-rw-r--r--community/lockfile-progs/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/lockfile-progs/PKGBUILD b/community/lockfile-progs/PKGBUILD
new file mode 100644
index 000000000..b49a8f50e
--- /dev/null
+++ b/community/lockfile-progs/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 50822 2011-07-01 16:45:18Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
+
+pkgname=lockfile-progs
+pkgver=0.1.15
+pkgrel=1
+pkgdesc="programs for locking and unlocking files and mailboxes"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://packages.debian.org/unstable/misc/lockfile-progs"
+depends=('glibc')
+makedepends=('gcc' 'make' 'liblockfile')
+source=(http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_${pkgver}.tar.gz)
+md5sums=('abfcda83a1868073673f4d78066b8f8a')
+
+build() {
+ cd $srcdir/sid
+ make CFLAGS="-g -Wall -O2"
+}
+
+package() {
+ cd $srcdir/sid
+ mkdir -p $pkgdir/usr/bin
+ install -s bin/* $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/man/man1
+ install man/*.1 $pkgdir/usr/share/man/man1
+}