diff options
author | root <root@rshg047.dnsready.net> | 2011-06-01 22:46:45 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-01 22:46:45 +0000 |
commit | e7b9c9697e6a50c3b9e78941fa95ba11c716d238 (patch) | |
tree | 4df601d78b5a2009ebeea5f01afe1f6e2beb8ca4 /community-testing/perl-json-xs/PKGBUILD | |
parent | 311d0420d77867bdb1066d38743e68e596a17ce5 (diff) |
Wed Jun 1 22:46:45 UTC 2011
Diffstat (limited to 'community-testing/perl-json-xs/PKGBUILD')
-rw-r--r-- | community-testing/perl-json-xs/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community-testing/perl-json-xs/PKGBUILD b/community-testing/perl-json-xs/PKGBUILD new file mode 100644 index 000000000..0c935e5ca --- /dev/null +++ b/community-testing/perl-json-xs/PKGBUILD @@ -0,0 +1,29 @@ +# $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=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') +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` + perl Makefile.PL INSTALLDIRS=vendor + make +} +package() { + cd $srcdir/JSON-XS-$pkgver + make DESTDIR=$pkgdir install + + find $pkgdir -name '.packlist' -delete && \ + find $pkgdir -name '*.pod' -delete +} |