user/perl-hash-fieldhash: new package

parent c780f9f8
# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-hash-fieldhash
pkgver=0.15
pkgrel=0
pkgdesc="Lightweight fields for inside-out Perl objects"
url="https://metacpan.org/pod/Hash::FieldHash"
arch="all"
license="Artistic-2.0 OR GPL-2.0-only"
depends="perl"
checkdepends="perl-test-leaktrace"
makedepends="perl-dev perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/G/GF/GFUJI/Hash-FieldHash-$pkgver.tar.gz"
builddir="$srcdir/Hash-FieldHash-$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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment