diff options
author | Cecil <knoppmyth@gmail.com> | 2012-01-14 20:46:12 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2012-01-14 20:46:12 (GMT) |
commit | c321283760591e3c6e5d9ed415e9c422fee83d9e (patch) | |
tree | 4e482fdf514f477c7ac23e0da81ec82a51a53b39 /abs/core/perl_modules | |
parent | e9948fef7a06dbb6b0c53e50df10c0a0dc2d941b (diff) | |
parent | d5525acd5a4054460b98930b46d9de5690c1fd36 (diff) | |
download | linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.zip linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.tar.gz linhes_pkgbuild-c321283760591e3c6e5d9ed415e9c422fee83d9e.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r-- | abs/core/perl_modules/perl-json/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-json/PKGBUILD b/abs/core/perl_modules/perl-json/PKGBUILD new file mode 100644 index 0000000..88aade8 --- /dev/null +++ b/abs/core/perl_modules/perl-json/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: François Charette <firmicus ατ gmx δοτ net> + +pkgname=perl-json +pkgver=2.53 +pkgrel=1 +pkgdesc="JSON (JavaScript Object Notation) encoder/decoder" +arch=('any') +url="http://search.cpan.org/dist/JSON" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-$pkgver.tar.gz) +md5sums=('7db1be00d44414c4962eeac222395a76') + +build() { + cd $srcdir/JSON-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/JSON-$pkgver + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |