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-task-weaken/PKGBUILD | |
parent | 5b7cf9d298fc2343b6bcf48ea15402880426711a (diff) | |
download | archlinuxewe-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz |
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-task-weaken/PKGBUILD')
-rw-r--r-- | perl-task-weaken/PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-task-weaken/PKGBUILD b/perl-task-weaken/PKGBUILD index 2e6bd0b23..35fc46d59 100644 --- a/perl-task-weaken/PKGBUILD +++ b/perl-task-weaken/PKGBUILD @@ -6,19 +6,20 @@ pkgname=perl-task-weaken _cpanname="Task-Weaken" pkgver=1.04 pkgrel='3' +_distdir="${_cpanname}-${pkgver}" pkgdesc="Ensure that a platform has weaken support" arch=('any') license=('PerlArtistic' 'GPL') options=('!emptydirs') depends=('perl>=5.5.0') url="http://search.cpan.org/dist/$_cpanname" -source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/$_cpanname-$pkgver.tar.gz") +source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/${_distdir}.tar.gz") sha512sums=('19749fada2b030a082d745abbc172125c3e195be5e1166ff02511fbf08aa8d37092cb0ea2cbf95452fef70f2e1cd0062d32f04d74aa52b30f6e85108f9ca80ff') # Function to change to the working directory and set # environment variables to override undesired options. prepareEnvironment() { - cd "$srcdir/$_cpanname-$pkgver" + cd "${srcdir}/${_distdir}" export \ PERL_MM_USE_DEFAULT=1 \ PERL_AUTOINSTALL=--skipdeps \ |