# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=perl-hash-fieldhash _pkgreal=Hash-FieldHash _author=GFUJI _au=${_author%%"${_author#??}"} _a=${_author%%"${_author#?}"} pkgver=0.15 pkgrel=0 pkgdesc="Lightweight fields for inside-out Perl objects" url="https://metacpan.org/pod/Hash::FieldHash" arch="all" license="Artistic-1.0-Perl OR GPL-1.0+" depends="perl" checkdepends="perl-test-leaktrace" makedepends="perl-dev perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { PERL5LIB="." perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor" ./Build } check() { ./Build test } package() { ./Build install } sha512sums="2f42b0e7efdba03b99c9646882afc47130de1989777eb1ceaf8031769a3a11ebdaa841abedea8288b770aa27c44108846d0765f531a35d707e44a8c1f0f8036e Hash-FieldHash-0.15.tar.gz"