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-class-load-xs/PKGBUILD | |
parent | 5b7cf9d298fc2343b6bcf48ea15402880426711a (diff) | |
download | archlinuxewe-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz |
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-class-load-xs/PKGBUILD')
-rw-r--r-- | perl-class-load-xs/PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/perl-class-load-xs/PKGBUILD b/perl-class-load-xs/PKGBUILD index 812a48003..8e291e76a 100644 --- a/perl-class-load-xs/PKGBUILD +++ b/perl-class-load-xs/PKGBUILD @@ -15,7 +15,8 @@ options=('!emptydirs') depends=('perl-class-load' 'perl-namespace-clean') checkdepends=('perl-module-implementation' 'perl-test-fatal' 'perl-test-requires' 'perl-test-without-module') url="https://metacpan.org/release/${_pkgname}" -source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz) +_distdir="${_pkgname}-${pkgver}" +source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_distdir}.tar.gz) sha512sums=('9b24637cf7b035ba369f05e42c0bd5a8590e001f2395b46df078635a50bb3df58ad57850be0010d092ae2530d9a545bbcc5f0055f6ae7f166c93905c022d469d') build() { @@ -24,15 +25,15 @@ build() { PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ MODULEBUILDRC=/dev/null - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${_distdir}" perl Makefile.PL make } check() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${_distdir}" make test } package() { - cd "${srcdir}/${_pkgname}-${pkgver}" + cd "${srcdir}/${_distdir}" make install } |