summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-module-implementation
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:54:22 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:54:22 (GMT)
commitff0f7cee2dc2b420e257313fef663a3f78bbc800 (patch)
tree7af473b8667e5c685144e8123934878b79896412 /abs/core/perl_modules/perl-module-implementation
parent16a043fed17ea05b6d6ca012ff09b71008562790 (diff)
downloadlinhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.zip
linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.gz
linhes_pkgbuild-ff0f7cee2dc2b420e257313fef663a3f78bbc800.tar.bz2
perl_modules: updated to many to list
Diffstat (limited to 'abs/core/perl_modules/perl-module-implementation')
-rw-r--r--abs/core/perl_modules/perl-module-implementation/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-module-implementation/PKGBUILD b/abs/core/perl_modules/perl-module-implementation/PKGBUILD
new file mode 100644
index 0000000..03b2fa5
--- /dev/null
+++ b/abs/core/perl_modules/perl-module-implementation/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: 3ED <krzysztof1987 at gmail dot com>
+
+pkgname=perl-module-implementation
+pkgver=0.06
+pkgrel=2
+pkgdesc="Loads one of several alternate underlying implementations for a module"
+arch=('any')
+license=('PerlArtistic')
+options=('!emptydirs')
+depends=('perl-module-runtime>=0.012')
+checkdepends=('perl-test-requires' 'perl-test-fatal')
+url="http://search.cpan.org/dist/Module-Implementation/"
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Module-Implementation-$pkgver.tar.gz)
+md5sums=('748f3540162fc52222d761fab3efb266')
+
+build() {
+ cd "${srcdir}/Module-Implementation-${pkgver}"
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/Module-Implementation-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/Module-Implementation-${pkgver}"
+ make install
+ find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
+}