community/perl-module-runtime-conflicts: modernize and add check

This commit is contained in:
Roberto Oliveira 2017-11-12 02:04:56 +00:00
parent a40c61b240
commit cb59219098

View File

@ -4,13 +4,13 @@
pkgname=perl-module-runtime-conflicts
_pkgreal=Module-Runtime-Conflicts
pkgver=0.003
pkgrel=0
pkgrel=1
pkgdesc="Provide information on conflicts for Module::Runtime"
url="http://search.cpan.org/dist/Module-Runtime-Conflicts/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-module-runtime perl-dist-checkconflicts"
cpanmakedepends=" "
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
@ -28,12 +28,15 @@ build() {
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
}
md5sums="67aaf699072063cc00c5b6afd4c67a6f Module-Runtime-Conflicts-0.003.tar.gz"
sha256sums="707cdc75038c70fe91779b888ac050f128565d3967ba96680e1b1c7cc9733875 Module-Runtime-Conflicts-0.003.tar.gz"
sha512sums="1b72ea7cc9516721290d5ea433169697b4134b5fc77872d6822e4c395a154bf956d469ab5da2802d587d60dfb13b9784014fe492988cf3f8b5820da2d63e8ca1 Module-Runtime-Conflicts-0.003.tar.gz"