summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-01-17 16:57:12 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-01-17 16:57:12 (GMT)
commitd65974a2ec73e40e6dd1b25564719b336e4e6abb (patch)
treecfdcc13a12517becb6aa13618364ff705a6fc81d /abs/core/perl_modules
parent35ecc7e685dcd9c484c3ac1c398631f56e9d30f7 (diff)
downloadlinhes_pkgbuild-d65974a2ec73e40e6dd1b25564719b336e4e6abb.zip
linhes_pkgbuild-d65974a2ec73e40e6dd1b25564719b336e4e6abb.tar.gz
linhes_pkgbuild-d65974a2ec73e40e6dd1b25564719b336e4e6abb.tar.bz2
merge
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-json/PKGBUILD28
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
+}