initial import
This commit is contained in:
30
perl-module-implementation/PKGBUILD
Normal file
30
perl-module-implementation/PKGBUILD
Normal 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}/"
|
||||
}
|
||||
Reference in New Issue
Block a user