summaryrefslogtreecommitdiff
path: root/community/perl-libapreq2/PKGBUILD
diff options
context:
space:
mode:
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
}