summaryrefslogtreecommitdiff
path: root/user/perl-struct-dumb
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-struct-dumb')
-rw-r--r--user/perl-struct-dumb/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-struct-dumb/APKBUILD b/user/perl-struct-dumb/APKBUILD
new file mode 100644
index 000000000..986a9c254
--- /dev/null
+++ b/user/perl-struct-dumb/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-struct-dumb
+_pkgreal=Struct-Dumb
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.14
+pkgrel=0
+pkgdesc="Perl utilities for lightweight record-like structures"
+url="https://metacpan.org/pod/Struct::Dumb"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-test-fatal perl-test2-suite"
+makedepends="perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="d59e9e63b21ef0afbfc36398a8eeabc3d2bfd7fb94da2d39dd0af8251cca88bc5c1cf476329a35a23012afdfbba3ee40ffa1a6ee53d435405bd81af5e3bfd90d Struct-Dumb-0.14.tar.gz"