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-file-find-object | |
parent | 5b7cf9d298fc2343b6bcf48ea15402880426711a (diff) | |
download | archlinuxewe-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz |
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-file-find-object')
-rw-r--r-- | perl-file-find-object/PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-file-find-object/PKGBUILD b/perl-file-find-object/PKGBUILD index 0ea01de90..9ab9009ed 100644 --- a/perl-file-find-object/PKGBUILD +++ b/perl-file-find-object/PKGBUILD @@ -5,7 +5,7 @@ pkgname=perl-file-find-object pkgver=0.2.13 pkgrel=1 _author="S/SH/SHLOMIF" -_perlmod="File-Find-Object" +_distdir="File-Find-Object-v${pkgver}" pkgdesc="File::Find::Object - An object oriented File::Find replacement" arch=('any') url="http://search.cpan.org/dist/File-Find-Object/" @@ -21,10 +21,10 @@ perl-file-find-object-result perl-file-find-object-toppath ) options=(!emptydirs) -source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-v$pkgver.tar.gz") +source=("http://search.cpan.org/CPAN/authors/id/$_author/${_distdir}.tar.gz") sha512sums=('4d3dd12d0e80ac0873182667efabeafd411204332374f81a339bf1b7dd82258567745aaddf026207da449cc99248679d8ff4e80951a2096327afdc9a760b6cfd') build(){ - cd "$srcdir"/$_perlmod-v$pkgver + cd "$srcdir/${_distdir}" # Setting these env variables overwrites any command-line-options we don't want... export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \ @@ -43,7 +43,7 @@ build(){ fi } check(){ - cd "$srcdir"/$_perlmod-v$pkgver + cd "$srcdir/${_distdir}" # If using Makefile.PL if [ -r Makefile.PL ]; then @@ -54,7 +54,7 @@ check(){ fi } package(){ - cd "$srcdir"/$_perlmod-v$pkgver + cd "$srcdir/${_distdir}" # If using Makefile.PL if [ -r Makefile.PL ]; then |