summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-json/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-29 22:59:59 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-29 22:59:59 (GMT)
commit095ad5b4dfbb63539e118b45e0ce83471435d41f (patch)
tree77f9c14e24598778c6ea2e871c1ac5a2396dddb3 /abs/core/perl_modules/perl-json/PKGBUILD
parent7e52c143a2e30074dad34d34a913876eea22f896 (diff)
downloadlinhes_pkgbuild-095ad5b4dfbb63539e118b45e0ce83471435d41f.zip
linhes_pkgbuild-095ad5b4dfbb63539e118b45e0ce83471435d41f.tar.gz
linhes_pkgbuild-095ad5b4dfbb63539e118b45e0ce83471435d41f.tar.bz2
perl-json: update to 2.97001
Diffstat (limited to 'abs/core/perl_modules/perl-json/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-json/PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/abs/core/perl_modules/perl-json/PKGBUILD b/abs/core/perl_modules/perl-json/PKGBUILD
index fa245f6..426bc3d 100644
--- a/abs/core/perl_modules/perl-json/PKGBUILD
+++ b/abs/core/perl_modules/perl-json/PKGBUILD
@@ -1,28 +1,28 @@
-# $Id: PKGBUILD 65872 2012-02-22 13:12:45Z spupykin $
+# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-json
-pkgver=2.53
-pkgrel=2
+pkgver=2.97001
+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')
+source=(http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/JSON-$pkgver.tar.gz)
+sha256sums=('e277d9385633574923f48c297e1b8acad3170c69fa590e31fa466040fc6f8f5a')
build() {
- cd $srcdir/JSON-$pkgver
+ 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
+ cd "$srcdir"/JSON-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
}