summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 04:34:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 04:34:25 +0000
commit14fc9a866010810aec063b3cdf8fd0b780f6156d (patch)
treec30bd0698fe43c6b9bd6afe9095a5d5699d71a34 /user
parent1cb8a48678ceb4735582ad570b42779a890db1c2 (diff)
downloadpackages-14fc9a866010810aec063b3cdf8fd0b780f6156d.tar.gz
packages-14fc9a866010810aec063b3cdf8fd0b780f6156d.tar.bz2
packages-14fc9a866010810aec063b3cdf8fd0b780f6156d.tar.xz
packages-14fc9a866010810aec063b3cdf8fd0b780f6156d.zip
user/perl-exception-class: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-exception-class/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-exception-class/APKBUILD b/user/perl-exception-class/APKBUILD
new file mode 100644
index 000000000..4ff03bda6
--- /dev/null
+++ b/user/perl-exception-class/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=perl-exception-class
+pkgver=1.44
+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"
+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"
+
+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"