From 7cd98f05e4d7d3090769596d992933a3685384d4 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Fri, 20 May 2022 01:45:07 +0000 Subject: user/perl-hash-fieldhash: modernize, fix license --- user/perl-hash-fieldhash/APKBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'user/perl-hash-fieldhash/APKBUILD') 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 -# Maintainer: Adélie Perl Team +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka 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" -- cgit v1.2.3-70-g09d2