summaryrefslogtreecommitdiff
path: root/perl-extutils-xspp
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-06-03 09:57:41 +0200
committerErich Eckner <git@eckner.net>2016-06-03 09:57:41 +0200
commitf6e08b5f0a9647bce466a38e9833cdf9b2b034d6 (patch)
tree6a508b21454687aa188deb1ef0490f1af4e7368f /perl-extutils-xspp
parent5b7cf9d298fc2343b6bcf48ea15402880426711a (diff)
downloadarchlinuxewe.git.save-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-extutils-xspp')
-rw-r--r--perl-extutils-xspp/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-extutils-xspp/PKGBUILD b/perl-extutils-xspp/PKGBUILD
index 322aa61c..afe5d9dc 100644
--- a/perl-extutils-xspp/PKGBUILD
+++ b/perl-extutils-xspp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-extutils-xspp
pkgver=0.18
pkgrel=1
_author=S/SM/SMUELLER
-_perlmod=ExtUtils-XSpp
+_distdir="ExtUtils-XSpp-${pkgver}"
pkgdesc='ExtUtils::XSpp - XS for C++'
arch=('any')
url="http://search.cpan.org/dist/ExtUtils-XSpp/"
@@ -67,11 +67,11 @@ perl-extutils-xspp-typemap-simple
perl-extutils-xspp-typemap-wrapper
)
options=(!emptydirs)
-source=("http://search.cpan.org/CPAN/authors/id/$_author/$_perlmod-$pkgver.tar.gz")
+source=("http://search.cpan.org/CPAN/authors/id/$_author/${_distdir}.tar.gz")
sha256sums=('9176ad646729e3bd27cf7abf114bedd3424bff1ba61185cfc7d54f3a9223a8ff')
build(){
- cd "$srcdir"/$_perlmod-$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 \
@@ -83,11 +83,11 @@ build(){
perl Build
}
check(){
- cd "$srcdir"/$_perlmod-$pkgver
+ cd "$srcdir/${_distdir}"
perl Build test
}
package(){
- cd "$srcdir"/$_perlmod-$pkgver
+ cd "$srcdir/${_distdir}"
perl Build install
# remove perllocal.pod and .packlist
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete