diff options
author | Erich Eckner <git@eckner.net> | 2016-06-03 09:57:41 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-06-03 09:57:41 +0200 |
commit | f6e08b5f0a9647bce466a38e9833cdf9b2b034d6 (patch) | |
tree | 6a508b21454687aa188deb1ef0490f1af4e7368f /perl-cpan-meta-check/PKGBUILD | |
parent | 5b7cf9d298fc2343b6bcf48ea15402880426711a (diff) | |
download | archlinuxewe-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz |
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-cpan-meta-check/PKGBUILD')
-rw-r--r-- | perl-cpan-meta-check/PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/perl-cpan-meta-check/PKGBUILD b/perl-cpan-meta-check/PKGBUILD index 87b9b961f..04d1fe1c2 100644 --- a/perl-cpan-meta-check/PKGBUILD +++ b/perl-cpan-meta-check/PKGBUILD @@ -11,21 +11,22 @@ options=('!emptydirs') depends=('perl') makedepends=('perl-test-deep') url='http://search.cpan.org/dist/CPAN-Meta-Check' -source=("https://cpan.metacpan.org/authors/id/L/LE/LEONT/CPAN-Meta-Check-${pkgver}.tar.gz") +_distdir="CPAN-Meta-Check-${pkgver}" +source=("https://cpan.metacpan.org/authors/id/L/LE/LEONT/${_distdir}.tar.gz") sha512sums=('99ec6721dfb6be8fae7e5a4f6418d4d12d8d093df11f0596480ecc19a46ef3af3fc3da91ccdd7110f974e8f4d04e33166d76804b673a019bc4994f96b7078e7d') prepare_environment() { - export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ - PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='${pkgdir}'" \ + PERL_MB_OPT="--installdirs vendor --destdir '${pkgdir}'" \ MODULEBUILDRC=/dev/null - cd "${srcdir}/CPAN-Meta-Check-${pkgver}" + cd "${srcdir}/${_distdir}" } build() { prepare_environment - /usr/bin/perl Makefile.PL + perl Makefile.PL make } @@ -37,7 +38,7 @@ check() { package() { prepare_environment make install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete } # Local Variables: |