summaryrefslogtreecommitdiff
path: root/perl-config-ini/PKGBUILD
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-config-ini/PKGBUILD
parent5b7cf9d298fc2343b6bcf48ea15402880426711a (diff)
downloadarchlinuxewe-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-config-ini/PKGBUILD')
-rwxr-xr-xperl-config-ini/PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/perl-config-ini/PKGBUILD b/perl-config-ini/PKGBUILD
index 421f625fc..7c09ce089 100755
--- a/perl-config-ini/PKGBUILD
+++ b/perl-config-ini/PKGBUILD
@@ -19,16 +19,13 @@ conflicts=()
replaces=()
backup=()
options=()
-source=(
- "http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Config-INI-${pkgver}.tar.gz"
-)
-sha256sums=(
- '628bf76d5b91f89dde22d4813ec033026ebf71b772bb61ccda909da00c869732'
-)
+_distdir="Config-INI-${pkgver}"
+source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/${_distdir}.tar.gz")
+sha256sums=('628bf76d5b91f89dde22d4813ec033026ebf71b772bb61ccda909da00c869732')
build() {
- cd Config-INI-${pkgver}
+ cd ${_distdir}
perl Makefile.PL
make
@@ -37,7 +34,7 @@ build() {
check() {
- cd Config-INI-${pkgver}
+ cd ${_distdir}
make test
@@ -45,7 +42,7 @@ check() {
package() {
- cd Config-INI-${pkgver}
+ cd ${_distdir}
make DESTDIR="${pkgdir}" install