summaryrefslogtreecommitdiff
path: root/perl-asa/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'perl-asa/PKGBUILD')
-rw-r--r--perl-asa/PKGBUILD57
1 files changed, 0 insertions, 57 deletions
diff --git a/perl-asa/PKGBUILD b/perl-asa/PKGBUILD
deleted file mode 100644
index bd4fde29d..000000000
--- a/perl-asa/PKGBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-
-pkgname='perl-asa'
-pkgver='1.03'
-pkgrel=12
-pkgdesc='Lets your class/object say it works like something else'
-arch=('any')
-license=('PerlArtistic' 'GPL')
-options=('!emptydirs')
-depends=(
- 'perl>=5.38'
- 'perl<5.39'
- 'perl>=5.5.0')
-makedepends=(
- 'perl-base'
- 'perl-extutils-makemaker>=6.42'
- 'perl-pathtools>=0.80'
- 'perl-test-simple>=0.47'
- 'perl-module-install')
-checkdepends=()
-url='https://metacpan.org/release/asa'
-_distdir="asa-${pkgver}"
-source=("https://cpan.metacpan.org/authors/id/A/AD/ADAMK/${_distdir}.tar.gz")
-sha512sums=('22cbccb93c8c9e96ec6e2cfa159f20a5220d722eb369a3c28a9ebae246fa145fb915db5d043722d52894d45f58015cc549f6aa0ba1dd4cbe498ad73cee918a1c')
-
-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 "$srcdir/$_distdir"
- perl Makefile.PL
- make
- )
-}
-
-check() {
- cd "$srcdir/$_distdir"
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- make test
- )
-}
-
-package() {
- cd "$srcdir/$_distdir"
- make 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: