Mail archive
alpine-aports

[alpine-aports] [PATCH] main/perl-module-metadata: upgrade to 1.000033

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Mon, 23 Jan 2017 14:26:19 +0200

- fix -doc
- apkbuild cleanups
---
 main/perl-module-metadata/APKBUILD | 26 +++++++++++++++-----------
 1 file 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
_at_@ -3,7 +3,7 @@
 # Maintainer: Natanael Copa <ncopa_at_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/"
_at_@ -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"
-- 
2.11.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Jan 23 2017 - 14:26:19 GMT