diff options
author | Erich Eckner <git@eckner.net> | 2016-06-03 09:57:41 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-06-03 09:57:41 +0200 |
commit | f6e08b5f0a9647bce466a38e9833cdf9b2b034d6 (patch) | |
tree | 6a508b21454687aa188deb1ef0490f1af4e7368f /perl-chemistry-elements | |
parent | 5b7cf9d298fc2343b6bcf48ea15402880426711a (diff) | |
download | archlinuxewe.git.save-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz |
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-chemistry-elements')
-rwxr-xr-x | perl-chemistry-elements/PKGBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/perl-chemistry-elements/PKGBUILD b/perl-chemistry-elements/PKGBUILD index e6f4b89a..c429adb8 100755 --- a/perl-chemistry-elements/PKGBUILD +++ b/perl-chemistry-elements/PKGBUILD @@ -16,14 +16,13 @@ conflicts=() replaces=() backup=() options=() -source=( - "http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Chemistry-Elements-${pkgver}.tar.gz" -) +_distdir="Chemistry-Elements-${pkgver}" +source=("http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/${_distdir}.tar.gz") sha512sums=('bfed7ab91c2554f01cb8923ac311dae8986fdbdbde35f6868aa59d3c1b9c10ac047e222b5473204fd4b464e3fc93ac7fb80a907b57ceeb9bea3afb1d7850445f') build() { - cd Chemistry-Elements-${pkgver} + cd ${_distdir} perl Makefile.PL make @@ -32,7 +31,7 @@ build() { check() { - cd Chemistry-Elements-${pkgver} + cd ${_distdir} make test @@ -40,7 +39,7 @@ check() { package() { - cd Chemistry-Elements-${pkgver} + cd ${_distdir} make DESTDIR="${pkgdir}" install |