summaryrefslogblamecommitdiff
path: root/user/perl-object-pad/APKBUILD
blob: 65215a8c0cedcf41717b7704907970e796a2bd3e (plain) (tree)
1
2
3
4
5
6
7
8






                                                           
           

























                                                                                        
                                                                                                                                                                     
# 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.78
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="59f1842e795ef501de677209274535d1edb5a84dee42a93f979e8e0a8d6ea3a1a35f5b7d22bc2e208da7a9721669fc9aa26f9683305fe9991b5ad84b11da446e  Object-Pad-0.78.tar.gz"