Commit 5ec48496 authored by Leo's avatar Leo Committed by Francesco Colista
Browse files

main/perl-module-metadata: upgrade to 1.000036

parent f7fda6e2
......@@ -3,16 +3,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-module-metadata
_pkgreal=Module-Metadata
pkgver=1.000033
pkgver=1.000036
pkgrel=0
pkgdesc="Gather package and POD information from perl module files"
url="http://search.cpan.org/dist/Module-Metadata/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
......@@ -26,12 +23,17 @@ prepare() {
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make && make test
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......@@ -40,6 +42,4 @@ 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"
sha512sums="c341bf6dab8068082c97370fbdc8473b80e210010d717756c7128fd5d847fc3a496709afd3b39606ceda6aa5b49adffe48d3dc81141ee7592068314218fa98b2 Module-Metadata-1.000036.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment