summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-20 01:45:07 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit7cd98f05e4d7d3090769596d992933a3685384d4 (patch)
treedac5d0655d62621b999453265899182807b30071 /user
parente4692655ef48628df1c1394920df3b0d65b466f0 (diff)
downloadpackages-7cd98f05e4d7d3090769596d992933a3685384d4.tar.gz
packages-7cd98f05e4d7d3090769596d992933a3685384d4.tar.bz2
packages-7cd98f05e4d7d3090769596d992933a3685384d4.tar.xz
packages-7cd98f05e4d7d3090769596d992933a3685384d4.zip
user/perl-hash-fieldhash: modernize, fix license
Diffstat (limited to 'user')
-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"