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-data-visitor/PKGBUILD | |
parent | 5b7cf9d298fc2343b6bcf48ea15402880426711a (diff) | |
download | archlinuxewe-f6e08b5f0a9647bce466a38e9833cdf9b2b034d6.tar.xz |
_distfile in PKGBUILD von Perl-Paketen eingefügt
Diffstat (limited to 'perl-data-visitor/PKGBUILD')
-rw-r--r-- | perl-data-visitor/PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-data-visitor/PKGBUILD b/perl-data-visitor/PKGBUILD index 4e2992fe0..c49ca4ff4 100644 --- a/perl-data-visitor/PKGBUILD +++ b/perl-data-visitor/PKGBUILD @@ -14,24 +14,24 @@ depends=('perl-class-load>=0.06' 'perl-moose>=0.89' 'perl-namespace-clean>=0.19' makedepends=('perl-test-requires') checkdepends=('perl-data-alias') url='http://search.cpan.org/dist/Data-Visitor' -_cpanName="Data-Visitor-${pkgver}" -source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/${_cpanName}.tar.gz") +_distdir="Data-Visitor-${pkgver}" +source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/${_distdir}.tar.gz") sha512sums=('cdd3f5076dbbfb3afce714677e936417b96315dd50735c015795fb2c9d143d4e2ceeb305366f9985032b17899b911267dbafefa56493ff20f16c74da1a9330a8') 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 } |