From f6e08b5f0a9647bce466a38e9833cdf9b2b034d6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 3 Jun 2016 09:57:41 +0200 Subject: _distfile in PKGBUILD von Perl-Paketen eingefügt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- perl-file-find-object/PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'perl-file-find-object') diff --git a/perl-file-find-object/PKGBUILD b/perl-file-find-object/PKGBUILD index 0ea01de9..9ab9009e 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 -- cgit v1.2.3-70-g09d2