summaryrefslogtreecommitdiff
path: root/user/perl-hash-fieldhash/APKBUILD
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-06-12 23:51:45 +0000
commit7b1fa867439960301559cf274713b122bd6e4765 (patch)
tree10b028267b1f01c79291343b05b8d1426817ba16 /user/perl-hash-fieldhash/APKBUILD
parent206a52d01884414f14868556961f24b3f22616d0 (diff)
downloadpackages-7b1fa867439960301559cf274713b122bd6e4765.tar.gz
packages-7b1fa867439960301559cf274713b122bd6e4765.tar.bz2
packages-7b1fa867439960301559cf274713b122bd6e4765.tar.xz
packages-7b1fa867439960301559cf274713b122bd6e4765.zip
user/perl-hash-fieldhash: modernize, fix license
Diffstat (limited to 'user/perl-hash-fieldhash/APKBUILD')
-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"