From 32aff312224aa2a4d92448df9362904ef16ebe0a Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Thu, 5 May 2022 17:13:47 +0000 Subject: user/perl-object-pad: new package --- user/perl-object-pad/APKBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 user/perl-object-pad/APKBUILD (limited to 'user/perl-object-pad/APKBUILD') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2