summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-25 16:29:43 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-09-25 16:29:43 -0500
commitc69e970ad632df9a086eada316ba3f5094afebb7 (patch)
tree9b630883d89eda1238750c8494a30e2a38d7defd
parent6cde91fbb9188d518dc207e9b2e719b78b9f99af (diff)
downloadpackages-c69e970ad632df9a086eada316ba3f5094afebb7.tar.gz
packages-c69e970ad632df9a086eada316ba3f5094afebb7.tar.bz2
packages-c69e970ad632df9a086eada316ba3f5094afebb7.tar.xz
packages-c69e970ad632df9a086eada316ba3f5094afebb7.zip
user/perl-data-dump: new package
-rw-r--r--user/perl-data-dump/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/perl-data-dump/APKBUILD b/user/perl-data-dump/APKBUILD
new file mode 100644
index 000000000..26deca4d9
--- /dev/null
+++ b/user/perl-data-dump/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=perl-data-dump
+pkgver=1.23
+pkgrel=0
+pkgdesc="Perl module for outputting data structures"
+url="https://metacpan.org/pod/Data::Dump"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0+"
+depends="perl"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/Data-Dump-$pkgver.tar.gz"
+builddir="$srcdir/Data-Dump-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="6fd6c23bb6df7f7396219149dbfd23132fc2ea1dd344c32f62fc27a1afeeb28d7ebf2d429184bb6d1189f412e218f9e62a966b49fdd9ad5564e5152d67a02b96 Data-Dump-1.23.tar.gz"