summaryrefslogtreecommitdiff
path: root/community/perl-json-xs
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-json-xs
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-json-xs')
-rw-r--r--community/perl-json-xs/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/community/perl-json-xs/PKGBUILD b/community/perl-json-xs/PKGBUILD
index d376698fd..0c935e5ca 100644
--- a/community/perl-json-xs/PKGBUILD
+++ b/community/perl-json-xs/PKGBUILD
@@ -1,26 +1,27 @@
-# $Id: PKGBUILD 35682 2010-12-21 23:39:21Z tdziedzic $
+# $Id: PKGBUILD 47516 2011-05-23 18:15:13Z jelle $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tor Krill <tor@krill.nu>
pkgname=perl-json-xs
pkgver=2.3
-pkgrel=2
+pkgrel=3
pkgdesc="JSON::XS - JSON serialising/deserialising, done correctly and fast"
url="http://search.cpan.org/dist/JSON-XS/"
license=("GPL")
arch=('i686' 'x86_64')
depends=('perl' 'perl-common-sense')
-options=('!emptydirs' 'force')
-LC_NUMERIC=C
-provides=("$pkgname=`printf %.4f $pkgver`")
+options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/JSON-XS-$pkgver.tar.gz)
md5sums=('4dc2a968e41f8cf330d46be12f221a12')
build() {
cd $srcdir/JSON-XS-$pkgver
- eval `perl -V:archname`
+# eval `perl -V:archname`
perl Makefile.PL INSTALLDIRS=vendor
make
+}
+package() {
+ cd $srcdir/JSON-XS-$pkgver
make DESTDIR=$pkgdir install
find $pkgdir -name '.packlist' -delete && \