aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-module-metadata
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-01-23 14:26:19 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-23 12:44:37 +0000
commit08f162fed807be64044701c5245cbb40e6cc45ae (patch)
tree716c87b235990d80bb0ad937ca4c87abb75f6856 /main/perl-module-metadata
parent227b258add04e635c9972b6eb5af23b463eaf44b (diff)
downloadaports-08f162fed807be64044701c5245cbb40e6cc45ae.tar.bz2
aports-08f162fed807be64044701c5245cbb40e6cc45ae.tar.xz
main/perl-module-metadata: upgrade to 1.000033
- fix -doc - apkbuild cleanups
Diffstat (limited to 'main/perl-module-metadata')
-rw-r--r--main/perl-module-metadata/APKBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/main/perl-module-metadata/APKBUILD b/main/perl-module-metadata/APKBUILD
index 609a57becf..95a92b1dd5 100644
--- a/main/perl-module-metadata/APKBUILD
+++ b/main/perl-module-metadata/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-module-metadata
_pkgreal=Module-Metadata
-pkgver=1.000027
+pkgver=1.000033
pkgrel=0
pkgdesc="Gather package and POD information from perl module files"
url="http://search.cpan.org/dist/Module-Metadata/"
@@ -15,27 +15,31 @@ depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ 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}'`
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && make test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="a0bf9b900dfd49c57702de3ee3801d42 Module-Metadata-1.000027.tar.gz"
-sha256sums="e2f7dcb48e826d9cb4c08ca8d7e1a1d4ceaa7725f1245eb30c71ecbd119132e7 Module-Metadata-1.000027.tar.gz"
-sha512sums="4b71cf80a722803f664dd069b46b89cbe415bb2fd9ef81750d606ac7463c7d589256d853c4f0005fcd32e554d0cecb3724387e1ebc3b3b49d32ff516fa555c50 Module-Metadata-1.000027.tar.gz"
+doc() {
+ default_doc
+ replaces="perl-doc"
+}
+
+md5sums="9b024260c96a722423d3992e85768a67 Module-Metadata-1.000033.tar.gz"
+sha256sums="bc96cc7949b52e2dac1595e806102640760917cfcd7497c7a023192156f3ff8e Module-Metadata-1.000033.tar.gz"
+sha512sums="77c5cd4cd130cbcf329e91afecae4bcfa78e776fa1b4e6398a382ea9c80c7ba39b2fdcd16649a2bb65dc8ea904839961667dcb7bf0005c1a61a1aa0578b49c17 Module-Metadata-1.000033.tar.gz"