summaryrefslogtreecommitdiff
path: root/community/perl-libapreq2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-libapreq2/PKGBUILD
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-libapreq2/PKGBUILD')
-rw-r--r--community/perl-libapreq2/PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/community/perl-libapreq2/PKGBUILD b/community/perl-libapreq2/PKGBUILD
index e378ce473..21d49f90f 100644
--- a/community/perl-libapreq2/PKGBUILD
+++ b/community/perl-libapreq2/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 35685 2010-12-21 23:43:49Z tdziedzic $
+# $Id: PKGBUILD 47519 2011-05-23 18:19:22Z jelle $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tom K <tomk@runbox.com>
pkgname=perl-libapreq2
pkgver=2.12
-pkgrel=7
+pkgrel=8
pkgdesc="A safe, standards-compliant, high-performance library used for parsing HTTP cookies, query-strings and POST data."
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/libapreq2"
@@ -24,10 +24,11 @@ build() {
sed -i 's#-ldb-4.8#-ldb-5.1#' apreq2-config
make
+}
+package(){
+ cd $srcdir/libapreq2-$pkgver
make install DESTDIR=$pkgdir
-
sed -i "s#$srcdir#/usr/src#" $pkgdir/usr/bin/apreq2-config
-
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete
}