aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-03-07 10:24:58 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-03-07 10:45:20 +0000
commitcb5b6bf1d3c789a3c0eb984889bddf9b353cbea7 (patch)
treea098ed9dec127262ed2b7a32a396af827cd224dd
parente32dfce083ea065e6a78f2caf2e5cf475839f16f (diff)
downloadaports-cb5b6bf1d3c789a3c0eb984889bddf9b353cbea7.tar.bz2
aports-cb5b6bf1d3c789a3c0eb984889bddf9b353cbea7.tar.xz
main/perl-scope-upper: new aport
-rw-r--r--main/perl-scope-upper/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-scope-upper/APKBUILD b/main/perl-scope-upper/APKBUILD
new file mode 100644
index 0000000000..214c2d5bcc
--- /dev/null
+++ b/main/perl-scope-upper/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=perl-scope-upper
+_pkgreal=Scope-Upper
+pkgver=0.28
+pkgrel=0
+pkgdesc="Act on upper scopes."
+url="http://search.cpan.org/dist/Scope-Upper/"
+arch="all"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/V/VP/VPIT/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ 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}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="031bccd403f52b83da8f06036070458c Scope-Upper-0.28.tar.gz"
+sha256sums="a0da8103debe014410fc6718fe3275db2713be95c235f18c4592cd4148e82137 Scope-Upper-0.28.tar.gz"
+sha512sums="318a7daf6d0e4a710ce73c9c2c243963de408c0bfcbfc038c6da5a21bca3b93e9da59e82dfe97a017ec42e892796d6a4d245502e7f3c151651b00d662128d143 Scope-Upper-0.28.tar.gz"