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-tie-toobject/PKGBUILD | |
parent | 5b7cf9d298fc2343b6bcf48ea15402880426711a (diff) | |
download | archlinuxewe.git.save-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz |
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-tie-toobject/PKGBUILD')
-rw-r--r-- | perl-tie-toobject/PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-tie-toobject/PKGBUILD b/perl-tie-toobject/PKGBUILD index 15ebae7f..dfa4f5d2 100644 --- a/perl-tie-toobject/PKGBUILD +++ b/perl-tie-toobject/PKGBUILD @@ -12,24 +12,24 @@ options=('!emptydirs') depends=('perl') makedepends=('perl-test-use-ok') url='http://search.cpan.org/dist/Tie-ToObject' -_cpanName="Tie-ToObject-${pkgver}" -source=("http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/${_cpanName}.tar.gz") +_distdir="Tie-ToObject-${pkgver}" +source=("http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/${_distdir}.tar.gz") sha512sums=('b3d2060d35e943e9aae28159ec71c7a6f01f47aa2905f5a218fafda8b1eb9e9da52038471617effe9f513f882b02e59946ddddf522058221b9132970e78ec94f') build() { - cd "$srcdir/${_cpanName}" + cd "${srcdir}/${_distdir}" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "$srcdir/${_cpanName}" + cd "${srcdir}/${_distdir}" PERL_MM_USE_DEFAULT=1 make test } package() { - cd "$srcdir/${_cpanName}" + cd "${srcdir}/${_distdir}" make install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -o -name '*.pod' -delete } |