# Automatically generated by apkbuild-cpan, template 1 # Contributor: # Maintainer: Leonardo Arena pkgname=perl-javascript-minifier-xs _pkgreal=JavaScript-Minifier-XS pkgver=0.11 pkgrel=5 pkgdesc="XS based JavaScript minifier" url="http://search.cpan.org/dist/JavaScript-Minifier-XS/" arch="all" license="GPL PerlArtistic" cpandepends="" cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends perl-module-build" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/G/GT/GTERMARS/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` perl Build.PL installdirs=vendor || return 1 } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` ./Build && ./Build test } package() { cd "$_builddir" ./Build install destdir="$pkgdir" || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="bd8544287ecd1b651367295485f4a5b0 JavaScript-Minifier-XS-0.11.tar.gz" sha256sums="151212ca4bd50b2f5e1de6d01e3cb08460407bd75f27dfc8162f2f7927839eee JavaScript-Minifier-XS-0.11.tar.gz" sha512sums="736294c898d7806eae509b0d0c14cfcbb783ac335fe6c08bed9c00a52643b3e6d0ade124735d7de8d2203bf404448889e0e84b3097e316d0ef444f1603cbbdef JavaScript-Minifier-XS-0.11.tar.gz"