diff options
Diffstat (limited to 'user/perl-hash-fieldhash/APKBUILD')
-rw-r--r-- | user/perl-hash-fieldhash/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/perl-hash-fieldhash/APKBUILD b/user/perl-hash-fieldhash/APKBUILD new file mode 100644 index 000000000..6cdef3d9a --- /dev/null +++ b/user/perl-hash-fieldhash/APKBUILD @@ -0,0 +1,30 @@ +# 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" |