aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-test-requiresinternet
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-01-12 12:41:13 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-01-12 12:41:13 +0000
commit97d96c0ea10ded5dbf69d33b9495c0ab092f5e88 (patch)
tree1655c3c573c909293a39ea65bb48efade427cc43 /main/perl-test-requiresinternet
parent8e5146b88365a48ef2cbc25a43387e06e81f9b08 (diff)
downloadaports-97d96c0ea10ded5dbf69d33b9495c0ab092f5e88.tar.bz2
aports-97d96c0ea10ded5dbf69d33b9495c0ab092f5e88.tar.xz
main/perl-test-requiresinternet: modernize APKBUILD
Diffstat (limited to 'main/perl-test-requiresinternet')
-rw-r--r--main/perl-test-requiresinternet/APKBUILD17
1 files changed, 5 insertions, 12 deletions
diff --git a/main/perl-test-requiresinternet/APKBUILD b/main/perl-test-requiresinternet/APKBUILD
index 5adcb620e4..a59716ea06 100644
--- a/main/perl-test-requiresinternet/APKBUILD
+++ b/main/perl-test-requiresinternet/APKBUILD
@@ -1,26 +1,19 @@
-# Automatically generated by apkbuild-cpan, template 2
-# Contributor:
-# Maintainer:
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-test-requiresinternet
_pkgreal=Test-RequiresInternet
pkgver=0.05
-pkgrel=0
+pkgrel=1
pkgdesc="Easily test network connectivity"
url="http://search.cpan.org/dist/Test-RequiresInternet/"
arch="noarch"
license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MALLEN/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
@@ -35,7 +28,7 @@ build() {
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}