diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 09:24:18 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 11:24:37 +0000 |
commit | b6fec46bae2df826eaaba28db1f29528b381372d (patch) | |
tree | 2cd69c20893b9a36a10d3e2ac39e662015574f80 /community/perl-strictures | |
parent | 8d609af59d456ce10da003aa14cf982abe0ee4f3 (diff) | |
download | aports-b6fec46bae2df826eaaba28db1f29528b381372d.tar.bz2 aports-b6fec46bae2df826eaaba28db1f29528b381372d.tar.xz |
community/perl-strictures: moved from testing
Diffstat (limited to 'community/perl-strictures')
-rw-r--r-- | community/perl-strictures/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/perl-strictures/APKBUILD b/community/perl-strictures/APKBUILD new file mode 100644 index 0000000000..5615348523 --- /dev/null +++ b/community/perl-strictures/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> +pkgname=perl-strictures +_pkgreal=strictures +pkgver=2.000002 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/strictures/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/strictures-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="fb1fada8260992bc85e126c21ffcc6d5 strictures-2.000002.tar.gz" +sha256sums="130355dcb3afd8c3c8213c24b924e71deb7e1e1197da8f90c5ae191766aa4100 strictures-2.000002.tar.gz" +sha512sums="30e7d02b4a240ef201e80f49066205f8563efade402bded4d0a818b0bde7c3bc5c4378e65b4e537ebd22d97ccab44e245764862eba5919770340d3811de346ef strictures-2.000002.tar.gz" |