initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=perl-exception-class
pkgver=1.44
pkgrel=1
pkgdesc='A module that allows you to declare real exception classes in Perl'
arch=('any')
url="https://metacpan.org/release/Exception-Class"
license=('GPL-1')
depends=('perl>=5.8.1' 'perl-class-data-inheritable>=0.02' 'perl-devel-stacktrace>=2.00')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-$pkgver.tar.gz)
sha512sums=('7ce1e488505dc3d1c6d6365b5ed523b204b93d89d205ad4cdf6c9ee9dbad1a6edc257251a365275f067479e734def56b3b21d588e978822e7714bd8a49ba6bb2')
build() {
cd "${srcdir}"/Exception-Class-$pkgver
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
unset PERL5LIB PERL_MM_OPT
perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "${srcdir}"/Exception-Class-$pkgver
make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}