summaryrefslogtreecommitdiff
path: root/community/perl-json-xs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-json-xs/PKGBUILD')
-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 && \