aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-12 02:04:56 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-12 02:04:56 +0000
commitcb5921909815c262d070c1ff149bb9790ae311d1 (patch)
tree50f7ae42df8382c3096aad8843771bd375ed8479
parenta40c61b24039bdde10c7fb4934b56663a8a5ff78 (diff)
downloadaports-cb5921909815c262d070c1ff149bb9790ae311d1.tar.gz
aports-cb5921909815c262d070c1ff149bb9790ae311d1.tar.bz2
aports-cb5921909815c262d070c1ff149bb9790ae311d1.tar.xz
community/perl-module-runtime-conflicts: modernize and add check
-rw-r--r--community/perl-module-runtime-conflicts/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/perl-module-runtime-conflicts/APKBUILD b/community/perl-module-runtime-conflicts/APKBUILD
index 862a24fa7b..f87c9154e1 100644
--- a/community/perl-module-runtime-conflicts/APKBUILD
+++ b/community/perl-module-runtime-conflicts/APKBUILD
@@ -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"