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,30 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=perl-module-implementation
pkgver=0.09
pkgrel=1
pkgdesc="Loads one of several alternate underlying implementations for a module"
arch=('any')
url='https://search.cpan.org/dist/Module-Implementation/'
license=('Artistic-2.0')
options=('!emptydirs')
depends=('perl-module-runtime>=0.012' 'perl-try-tiny')
source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Module-Implementation-$pkgver.tar.gz)
sha512sums=('049f967ba1bd8a3914968b34006030ae318d99ac629a0f34736f1c2b5392490c30aa0914e777eaefda7f0f58755d2d3363a266b90db59b53fe145ef68e1d953c')
build() {
cd "${srcdir}/Module-Implementation-${pkgver}"
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
MODULEBUILDRC=/dev/null
perl Makefile.PL
make
}
package() {
cd "${srcdir}/Module-Implementation-${pkgver}"
make install
find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}