diff options
Diffstat (limited to 'testing/perl-guard/PKGBUILD')
-rw-r--r-- | testing/perl-guard/PKGBUILD | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/testing/perl-guard/PKGBUILD b/testing/perl-guard/PKGBUILD deleted file mode 100644 index cda13ee20..000000000 --- a/testing/perl-guard/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Packager: Justin Davis <jrcd83@gmail.com> -# $Id: PKGBUILD 159893 2012-05-27 07:43:24Z bluewind $ - -pkgname=perl-guard -pkgver=1.022 -pkgrel=2 -pkgdesc="safe cleanup blocks" -arch=(i686 x86_64) -license=(custom:unknown) -options=(!emptydirs) -depends=('perl') -url=https://metacpan.org/release/Guard -source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Guard-${pkgver}.tar.gz") -md5sums=(8d1d8b942fd5d0240f47906a6d6fac8c) -sha512sums=(9eb1c4fa29f6190115fe11215ff5d27bb3e7f5ab60c7f40c4142ad9ff8aad91b0b169204e4d0f1b1638381c0c99e6a0b5627b8b6d60fad62f1392a9d1e49751e) -_distdir="${srcdir}/Guard-${pkgver}" - -build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ - PERL_AUTOINSTALL=--skipdeps \ - PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ - PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ - MODULEBUILDRC=/dev/null - - cd "$_distdir" - /usr/bin/perl Makefile.PL - make - ) -} - -check() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - cd "$_distdir" - make test - ) -} - -package() { - cd "$_distdir" - make DESTDIR="$pkgdir" install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete -} - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: |