summaryrefslogtreecommitdiff
path: root/user/perl-exception-class/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-exception-class/APKBUILD')
-rw-r--r--user/perl-exception-class/APKBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/user/perl-exception-class/APKBUILD b/user/perl-exception-class/APKBUILD
index a130d6ed1..abb1bd1b7 100644
--- a/user/perl-exception-class/APKBUILD
+++ b/user/perl-exception-class/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-exception-class
-pkgver=1.44
+_pkgreal=Exception-Class
+_author=DROLSKY
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=1.45
pkgrel=0
pkgdesc="Perl module for declaring 'real' exception classes"
url="https://metacpan.org/release/Exception-Class"
arch="noarch"
-license="Artistic-1.0-Perl"
-depends="perl-class-data-inheritable perl-devel-stacktrace"
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl perl-class-data-inheritable perl-devel-stacktrace"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Exception-Class-$pkgver.tar.gz"
-builddir="$srcdir/Exception-Class-$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="7ce1e488505dc3d1c6d6365b5ed523b204b93d89d205ad4cdf6c9ee9dbad1a6edc257251a365275f067479e734def56b3b21d588e978822e7714bd8a49ba6bb2 Exception-Class-1.44.tar.gz"
+sha512sums="8eff70c85c8f1cc9e1db2c47b5a815ef902fddd4989783b9fb7e84e3ce75776564cafddd3aedd2c86a5a8b9627021c9cfd094b95ec4956a60dd6703bba3eaf4d Exception-Class-1.45.tar.gz"