summaryrefslogtreecommitdiff
path: root/perl-file-find-object/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'perl-file-find-object/PKGBUILD')
-rw-r--r--perl-file-find-object/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
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