summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 17:13:47 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit32aff312224aa2a4d92448df9362904ef16ebe0a (patch)
tree21c829bfaa0104282efc742ff1a8de4d6f9f8344
parente89bbf9fe2339484153ef63f902fd61d7cbab037 (diff)
downloadpackages-32aff312224aa2a4d92448df9362904ef16ebe0a.tar.gz
packages-32aff312224aa2a4d92448df9362904ef16ebe0a.tar.bz2
packages-32aff312224aa2a4d92448df9362904ef16ebe0a.tar.xz
packages-32aff312224aa2a4d92448df9362904ef16ebe0a.zip
user/perl-object-pad: new package
-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"