diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-05 17:13:47 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:42 +0000 |
commit | 9e725f3448ed1dc57d745ea40fd50ea991fcc1aa (patch) | |
tree | 9d66823c65bee53e08910708f60d102cc8e607d5 /user/perl-object-pad | |
parent | a802ff77130c2843e2272424f57505487512c72d (diff) | |
download | packages-9e725f3448ed1dc57d745ea40fd50ea991fcc1aa.tar.gz packages-9e725f3448ed1dc57d745ea40fd50ea991fcc1aa.tar.bz2 packages-9e725f3448ed1dc57d745ea40fd50ea991fcc1aa.tar.xz packages-9e725f3448ed1dc57d745ea40fd50ea991fcc1aa.zip |
user/perl-object-pad: new package
Diffstat (limited to 'user/perl-object-pad')
-rw-r--r-- | user/perl-object-pad/APKBUILD | 35 |
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" |