aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-manifest
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-test-manifest')
-rw-r--r--main/perl-test-manifest/APKBUILD38
1 files changed, 20 insertions, 18 deletions
diff --git a/main/perl-test-manifest/APKBUILD b/main/perl-test-manifest/APKBUILD
index 28c5b353c7..ca9dcbef68 100644
--- a/main/perl-test-manifest/APKBUILD
+++ b/main/perl-test-manifest/APKBUILD
@@ -1,33 +1,33 @@
+# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-test-manifest
-pkgver=1.23
+_pkgreal=Test-Manifest
+pkgver=2.02
pkgrel=0
-pkgdesc="Test::Manifest perl module"
+pkgdesc="Interact with a t/test_manifest file"
url="http://search.cpan.org/dist/Test-Manifest/"
arch="noarch"
-license="GPLv2 or Artistic"
-depends="perl"
-makedepends="perl-dev"
-install=""
-subpackages=
-source="http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Test-Manifest-$pkgver.tar.gz"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/Test-Manifest-$pkgver
prepare() {
- local i
cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
}
package() {
@@ -36,4 +36,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="81c8744987b67d35af05a74a3c7f1742 Test-Manifest-1.23.tar.gz"
+md5sums="fdd832e160cacf1496db3adf57515ad9 Test-Manifest-2.02.tar.gz"
+sha256sums="064783ceaf7dd569a5724d40900a3f9d92168ee4c613f7a3cb99a99aa8283396 Test-Manifest-2.02.tar.gz"
+sha512sums="b22a93b1ff9a0cbbd5a7be0d01d7ec1b925f9f5b0a865b283b68891d411e406c57e7459ea34f575ae40701e91f12474b9cf4ae66512bec73609b1066315586b1 Test-Manifest-2.02.tar.gz"