blob: 6bec77d7c126a06faa227dbe6e128d1490905601 (
plain) (
tree)
|
|
# 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.808
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-test2-suite perl-test-fatal perl-test-refcount"
makedepends="perl-dev perl-module-build perl-xs-parse-keyword>=0.39 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="5fbb53ca6c31d123755658987f10098e67691f5e158c4821cbd198d31857ffb8437850762e0930e83102087519ae153248842b872e6361e69712d966f841680c Object-Pad-0.808.tar.gz"
|