summaryrefslogtreecommitdiff
path: root/user/perl-object-pad/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-object-pad/APKBUILD')
-rw-r--r--user/perl-object-pad/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-object-pad/APKBUILD b/user/perl-object-pad/APKBUILD
new file mode 100644
index 000000000..18924b640
--- /dev/null
+++ b/user/perl-object-pad/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-object-pad
+_pkgreal=Object-Pad
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.64
+pkgrel=0
+pkgdesc="Simple syntax for lexical field-based objects"
+url="https://metacpan.org/pod/Object::Pad"
+arch="all"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-test-fatal perl-test-refcount"
+makedepends="perl-dev perl-module-build perl-xs-parse-keyword perl-xs-parse-sublike"
+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="58c21cb1a6381c217dc2b8c32a3b34aa9167ca10fb5bca6b4bab524ea07d5679b2fb34d6c1aa64e879633b2370bae504afd13bb0704b0e93ef08cf226287a4bd Object-Pad-0.64.tar.gz"