summaryrefslogtreecommitdiff
path: root/user/perl-hash-fieldhash
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-hash-fieldhash')
-rw-r--r--user/perl-hash-fieldhash/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/user/perl-hash-fieldhash/APKBUILD b/user/perl-hash-fieldhash/APKBUILD
index 6cdef3d9a..d631e7ee7 100644
--- a/user/perl-hash-fieldhash/APKBUILD
+++ b/user/perl-hash-fieldhash/APKBUILD
@@ -1,18 +1,22 @@
-# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
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-2.0 OR GPL-2.0-only"
+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/G/GF/GFUJI/Hash-FieldHash-$pkgver.tar.gz"
-builddir="$srcdir/Hash-FieldHash-$pkgver"
+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"