summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 17:04:19 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commitea785ae731a0e39ba268ea103d5c5abdc7403e46 (patch)
tree65bfbb17da7a27307b6f00fa67ca45a8ddd6cae3
parent9eff718c72a0364c4d48585abac3d0d0c5f28c2d (diff)
downloadpackages-ea785ae731a0e39ba268ea103d5c5abdc7403e46.tar.gz
packages-ea785ae731a0e39ba268ea103d5c5abdc7403e46.tar.bz2
packages-ea785ae731a0e39ba268ea103d5c5abdc7403e46.tar.xz
packages-ea785ae731a0e39ba268ea103d5c5abdc7403e46.zip
user/perl-struct-dumb: new package
-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..d3e69bbf6
--- /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.12
+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"
+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="52b8e2e7b0f073d1e24c941529989f1bd94d29e8c84abfc811baf3955bba5951b235128953260a149e9e52ee31c0759498cc9c3a283e350e618e8b004e50a132 Struct-Dumb-0.12.tar.gz"