mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
23 lines
776 B
Bash
23 lines
776 B
Bash
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
|
|
# Contributor: François Charette <firmicus ατ gmx δοτ net>
|
|
|
|
pkgname=perl-json
|
|
pkgver=2.14
|
|
pkgrel=1
|
|
pkgdesc="JSON (JavaScript Object Notation) encoder/decoder "
|
|
arch=('i686' 'x86_64')
|
|
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)
|
|
|
|
build() {
|
|
cd $startdir/src/JSON-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=$startdir/pkg || return 1
|
|
find $startdir/pkg -name '.packlist' -delete
|
|
find $startdir/pkg -name '*.pod' -delete
|
|
}
|
|
md5sums=('340d2e9eb18406e18c88475d7aa25edc')
|