From 0ff008e3c9dcc5ef088f481dfff3dcd121575598 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 27 Aug 2014 05:07:26 -0300 Subject: move some packages from [social] to [pcr] and remove unused [social] --- pcr/liblockfile/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/liblockfile/PKGBUILD (limited to 'pcr/liblockfile/PKGBUILD') diff --git a/pcr/liblockfile/PKGBUILD b/pcr/liblockfile/PKGBUILD new file mode 100644 index 000000000..a20883cfd --- /dev/null +++ b/pcr/liblockfile/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor (Arch): Andreas Wagner + +pkgname=liblockfile +pkgver=1.08_4 +pkgrel=1 +pkgdesc="a library with NFS-safe locking functions" +arch=('i686' 'x86_64' 'mips64el') +license=('GPL') +url="http://packages.debian.org/unstable/libs/liblockfile1" +depends=('glibc') +makedepends=() +source=(http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_1.08.orig.tar.gz + http://ftp.debian.org/debian/pool/main/libl/$pkgname/${pkgname}_${pkgver/_/-}.debian.tar.bz2) + +build() { + cd $startdir/src/$pkgname-1.08 + + for p in `cat ../debian/patches/series` ; do + patch -p1 < ../debian/patches/$p + done + + ./configure --prefix=/usr --mandir=/usr/share/man || return 1 + make || return 1 + + mkdir -p $startdir/pkg/usr/{lib,bin,include,share/man/man1,share/man/man3} + make install prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man || return 1 +} + +md5sums=('c24e2dfb4a2aab0263fe5ac1564d305e' + '50c0c049d2838704f5720f5fd9eaddac') -- cgit v1.2.3