summaryrefslogtreecommitdiff
path: root/community/lockdev
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-07 11:24:34 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-07 11:24:34 -0300
commita607668699d0ed030ac69ed31969dfa266439e38 (patch)
tree5b3e076437e78d8624668454afc1d82750d54c8a /community/lockdev
parent6b015d22b5b59eddb6e8c40989017d8492ac912c (diff)
parenta4d309341dbcd3c28ee68e818c1d5ef54114adf8 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/libraw/PKGBUILD community-testing/virtualbox-modules/PKGBUILD community-testing/virtualbox-modules/virtualbox-modules.install community-testing/virtualbox/PKGBUILD community-testing/virtualbox/vboxdrv-reference.patch community-testing/virtualbox/virtualbox.install community-testing/vtk/PKGBUILD community/audex/PKGBUILD community/critter/PKGBUILD community/egoboo/PKGBUILD community/fcgiwrap/PKGBUILD community/hping/PKGBUILD community/libesmtp/PKGBUILD community/lockdev/PKGBUILD community/pidgin-musictracker/PKGBUILD community/pidgin-otr/PKGBUILD community/pylibacl/PKGBUILD community/pypanel/PKGBUILD community/rdiff-backup/PKGBUILD community/steghide/PKGBUILD community/tabbed/PKGBUILD community/transset-df/PKGBUILD community/wyrd/PKGBUILD core/openldap/PKGBUILD core/sqlite3/PKGBUILD extra/fltk/PKGBUILD extra/thunar/PKGBUILD extra/xfce4-clipman-plugin/PKGBUILD multilib/lib32-acl/PKGBUILD multilib/lib32-alsa-oss/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-libffi/PKGBUILD multilib/lib32-libmng/PKGBUILD multilib/lib32-libpciaccess/PKGBUILD multilib/lib32-libusb-compat/PKGBUILD multilib/lib32-libusb/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'community/lockdev')
-rw-r--r--community/lockdev/PKGBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/community/lockdev/PKGBUILD b/community/lockdev/PKGBUILD
index 9935de200..7949b4cdd 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 <pupykin.s+arch@gmail.com>
+# $Id: PKGBUILD 57817 2011-11-03 10:01:23Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Wagner <a.wagner@stud.uni-frankfurt.de>
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' 'mips64el')
-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
}