diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-03-07 10:19:50 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-03-07 10:45:20 +0000 |
commit | d73d2074ea06d96ff2599a6f8848ed11d509e09e (patch) | |
tree | a01973df267849d575d7304525135ee9051c4330 /main/perl-css-minifier-xs | |
parent | d0a8523263c9515c58198105b5bd0ab6171ecc32 (diff) | |
download | aports-d73d2074ea06d96ff2599a6f8848ed11d509e09e.tar.bz2 aports-d73d2074ea06d96ff2599a6f8848ed11d509e09e.tar.xz |
main/perl-css-minifier-xs: new aport
Diffstat (limited to 'main/perl-css-minifier-xs')
-rw-r--r-- | main/perl-css-minifier-xs/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-css-minifier-xs/APKBUILD b/main/perl-css-minifier-xs/APKBUILD new file mode 100644 index 0000000000..ad6bb838ff --- /dev/null +++ b/main/perl-css-minifier-xs/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-css-minifier-xs +_pkgreal=CSS-Minifier-XS +pkgver=0.09 +pkgrel=0 +pkgdesc="XS based CSS minifier" +url="http://search.cpan.org/dist/CSS-Minifier-XS/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +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="583722bcd6175fcafaff63c769accc6f CSS-Minifier-XS-0.09.tar.gz" +sha256sums="88a6997fa0df6b394d1e346bd0e57cd565857e217d807b652f176b006be6dad7 CSS-Minifier-XS-0.09.tar.gz" +sha512sums="520e40fa4a6d70bd7692880f3bc5c813a8648dfe12946426dedf0874e180ccd98e703d67ed8b502a7b00489aa2404edce844d80b1eccc48f94156a0d5c36ad51 CSS-Minifier-XS-0.09.tar.gz" |