aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-struct-dumb/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-14 12:39:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-14 12:39:29 +0000
commita6fc104e812e6df6440c2eddf4082f74d7429949 (patch)
treed5127a1c13cde449e7c4d333a7785a1f31d1430d /main/perl-struct-dumb/APKBUILD
parent5b39695836bc4b66f2508d0c493efa2c47ebdcba (diff)
downloadaports-a6fc104e812e6df6440c2eddf4082f74d7429949.tar.bz2
aports-a6fc104e812e6df6440c2eddf4082f74d7429949.tar.xz
main/perl-struct-dumb: new aport
make simple lightweight record-like structures http://search.cpan.org/dist/Struct-Dumb/
Diffstat (limited to 'main/perl-struct-dumb/APKBUILD')
-rw-r--r--main/perl-struct-dumb/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-struct-dumb/APKBUILD b/main/perl-struct-dumb/APKBUILD
new file mode 100644
index 0000000000..efd6eaa53c
--- /dev/null
+++ b/main/perl-struct-dumb/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-struct-dumb
+_pkgreal=Struct-Dumb
+pkgver=0.02
+pkgrel=0
+pkgdesc="make simple lightweight record-like structures"
+url="http://search.cpan.org/dist/Struct-Dumb/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends="perl-test-fatal "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ perl Build.PL installdirs=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ ./Build && ./Build test
+}
+
+package() {
+ cd "$_builddir"
+ ./Build install destdir="$pkgdir" || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="1bfd205321a58efdf390a600abb2d6b7 Struct-Dumb-0.02.tar.gz"
+sha256sums="9c483e45f7c6365ccf694aa8f09ec05598264cee70007e7b99c34c37f2935a5b Struct-Dumb-0.02.tar.gz"
+sha512sums="5814dde8fcb22aba50c2e980ca8a1bddf3dc659f575ef65de695ef1aab408d28d2a8a3be282c1e6e12f27f7d137f44c33f67a11d79ca8cf04809695e83d5a1ad Struct-Dumb-0.02.tar.gz"