blob: 8e650bbe1a5a47162b74c68fc0a3ca6454051b54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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=5
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 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="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"
|