summaryrefslogtreecommitdiff
path: root/perl-datetime-format-mysql
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-datetime-format-mysql
parent5b7cf9d298fc2343b6bcf48ea15402880426711a (diff)
downloadarchlinuxewe.git.save-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-datetime-format-mysql')
-rw-r--r--perl-datetime-format-mysql/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-datetime-format-mysql/PKGBUILD b/perl-datetime-format-mysql/PKGBUILD
index d6723a34..585a5e90 100644
--- a/perl-datetime-format-mysql/PKGBUILD
+++ b/perl-datetime-format-mysql/PKGBUILD
@@ -10,7 +10,8 @@ license=('perl')
url="http://search.cpan.org/~drolsky/DateTime-Format-MySQL"
options=(!emptydirs)
depends=('perl-datetime' 'perl-datetime-format-builder')
-source=("https://cpan.metacpan.org/authors/id/X/XM/XMIKEW/DateTime-Format-MySQL-${pkgver}.tar.gz")
+_distdir="DateTime-Format-MySQL-${pkgver}"
+source=("https://cpan.metacpan.org/authors/id/X/XM/XMIKEW/${_distdir}.tar.gz")
md5sums=('60b84516b5f29e0c639cd1a0f12333d2')
sha512sums=('56ea114f45e848f7a2389e1fea306b0e97d78e7033d745426db71bbfc527bb90affef8e2a697c213d855aced530b990424eedd92576354abcd4a3bbc3d6f1e69')
@@ -20,7 +21,7 @@ prepare_environment() {
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
- cd "${srcdir}/DateTime-Format-MySQL-${pkgver}"
+ cd "${srcdir}/${_distdir}"
}
build() {