summaryrefslogtreecommitdiff
path: root/user/perl-class-data-inheritable
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-class-data-inheritable')
-rw-r--r--user/perl-class-data-inheritable/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/user/perl-class-data-inheritable/APKBUILD b/user/perl-class-data-inheritable/APKBUILD
index 4e1745f22..198dab68e 100644
--- a/user/perl-class-data-inheritable/APKBUILD
+++ b/user/perl-class-data-inheritable/APKBUILD
@@ -1,33 +1,34 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-class-data-inheritable
-pkgver=0.08
+_pkgreal=Class-Data-Inheritable
+_author=RSHERER
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.09
pkgrel=0
pkgdesc="Inheritable, overridable class data for Perl modules"
url="https://metacpan.org/release/Class-Data-Inheritable"
arch="noarch"
-license="Artistic-1.0-Perl"
-depends=""
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-$pkgver.tar.gz"
-builddir="$srcdir/Class-Data-Inheritable-$pkgver"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="bddc61096158b21d4cfa69538d5db0f53617a66c71447ee193141064f4f58194462b21e0a849510e24e4c263b13be3ee1bc6bb8504320e0a86c02b67ad1652c8 Class-Data-Inheritable-0.08.tar.gz"
+sha512sums="2e76aaf12c8d26442d53746e5d74636bb35c55461efb6d9b5ea50a635e3f781707b2d7f9cb3da9113ed31de464d3931f9734c29ace2a7ee5c6e111392b6a97cf Class-Data-Inheritable-0.09.tar.gz"