diff options
author | root <root@rshg047.dnsready.net> | 2011-07-02 23:10:09 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-02 23:10:09 +0000 |
commit | 1732308adb7885b00fc388f978e65b3ad15aa067 (patch) | |
tree | 7a26cedab2b721f05a3b57ccf578787217f8a9a7 /community/liblockfile/PKGBUILD | |
parent | a81bc5be2e3672119ca0313a1fde10397a31211e (diff) |
Sat Jul 2 23:10:09 UTC 2011
Diffstat (limited to 'community/liblockfile/PKGBUILD')
-rw-r--r-- | community/liblockfile/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/liblockfile/PKGBUILD b/community/liblockfile/PKGBUILD new file mode 100644 index 000000000..730fce864 --- /dev/null +++ b/community/liblockfile/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 50818 2011-07-01 16:29:42Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de> + +pkgname=liblockfile +pkgver=1.08_4 +_basever=1.08 +pkgrel=1 +pkgdesc="a library with NFS-safe locking functions" +arch=('i686' 'x86_64') +license=('GPL') +url="http://packages.debian.org/unstable/libs/liblockfile1" +depends=('glibc') +makedepends=() +source=(http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_${_basever}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_${pkgver/_/-}.debian.tar.bz2) +md5sums=('c24e2dfb4a2aab0263fe5ac1564d305e' + '50c0c049d2838704f5720f5fd9eaddac') + +build() { + cd $srcdir/$pkgname-${_basever} + for p in `cat ../debian/patches/series` ; do + patch -p1 < ../debian/patches/$p + done + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd $srcdir/$pkgname-${_basever} + mkdir -p $pkgdir/usr/{lib,bin,include,share/man/man1,share/man/man3} + make install prefix=$pkgdir/usr mandir=$startdir/pkg/usr/share/man +} |