From 3026bb55941e3b04b56f5fb41b88941c6c2ce0cd Mon Sep 17 00:00:00 2001 From: root Date: Fri, 4 Nov 2011 23:14:51 +0000 Subject: Fri Nov 4 23:14:51 UTC 2011 --- community/lockdev/PKGBUILD | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'community/lockdev') diff --git a/community/lockdev/PKGBUILD b/community/lockdev/PKGBUILD index 1074e3f75..6486c74aa 100644 --- a/community/lockdev/PKGBUILD +++ b/community/lockdev/PKGBUILD @@ -1,33 +1,32 @@ -# $Id: PKGBUILD 21613 2010-07-16 20:02:19Z tdziedzic $ -# Maintainer: Sergej Pupykin +# $Id: PKGBUILD 57817 2011-11-03 10:01:23Z lfleischer $ +# Maintainer: Lukas Fleischer +# Contributor: Sergej Pupykin # Contributor: Andreas Wagner pkgname=lockdev pkgver=1.0.3_1.2 -pkgrel=2 -pkgdesc="Run-time shared library for locking devices, using _both_ FSSTND and SVr4 methods" -url="http://packages.qa.debian.org/l/lockdev.html" +_pkgver=1.0.3 +pkgrel=3 +pkgdesc='Run-time shared library for locking devices, using _both_ FSSTND and SVr4 methods.' +url='http://packages.qa.debian.org/l/lockdev.html' license=("GPL") arch=('i686' 'x86_64') -source=("http://ftp.debian.org/debian/pool/main/l/${pkgname}/${pkgname}_1.0.3.orig.tar.gz" - "http://ftp.debian.org/debian/pool/main/l/${pkgname}/${pkgname}_${pkgver/_/-}.diff.gz") +source=("http://ftp.debian.org/debian/pool/main/l/${pkgname}/${pkgname}_${_pkgver}.orig.tar.gz" + "http://ftp.debian.org/debian/pool/main/l/${pkgname}/${pkgname}_${pkgver/_/-}.diff.gz") md5sums=('64b9c1b87b125fc348e892e24625524a' 'afe2995ad3fc6551e107364d66a8e938') build() { - cd ${pkgname}-1.0.3 - - patch -p1 < ../${pkgname}_${pkgver/_/-}.diff + cd "${pkgname}-${_pkgver}" + patch -p1 -i "../${pkgname}_${pkgver/_/-}.diff" sed -i "s|CFLAGS = -g|CFLAGS = -g -fPIC|" Makefile make shared - make static } package() { - cd ${pkgname}-1.0.3 - - make basedir=${pkgdir}/usr install + cd "${pkgname}-${_pkgver}" + make basedir="${pkgdir}/usr" install } -- cgit v1.2.3-54-g00ecf