Date: Tuesday, November 17, 2015 @ 18:40:06
  Author: demize
Revision: 147006

perl-test-without-module: import from AUR

Added:
  perl-test-without-module/
  perl-test-without-module/repos/
  perl-test-without-module/trunk/
  perl-test-without-module/trunk/PKGBUILD

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Added: perl-test-without-module/trunk/PKGBUILD
===================================================================
--- perl-test-without-module/trunk/PKGBUILD                             (rev 0)
+++ perl-test-without-module/trunk/PKGBUILD     2015-11-17 17:40:06 UTC (rev 
147006)
@@ -0,0 +1,43 @@
+# Maintainer: Johannes Löthberg <johan...@kyriasis.com>
+# Contributor: Piotr Rogoża <piotr dot r dot public at gmail dot com>
+
+pkgname=perl-test-without-module
+pkgver=0.18
+pkgrel=3
+
+pkgdesc='Test::Without::Module - Test fallback behaviour in absence of modules'
+url="http://search.cpan.org/dist/Test-Without-Module/";
+arch=('any')
+license=('GPL' 'PerlArtistic')
+
+depends=('perl')
+makedepends=('perl')
+checkdepends=('perl-file-slurp')
+
+source=("http://search.cpan.org/CPAN/authors/id/C/CO/CORION/Test-Without-Module-$pkgver.tar.gz";)
+
+sha256sums=('e2c3360b171d7db518ac39a0e1dcb285c784ea393c11708914a0655d66138c7f')
+
+options=(!emptydirs)
+
+build() {
+       cd Test-Without-Module-"$pkgver"
+
+       # Setting these env variables overwrites any command-line-options we 
don't want...
+       export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
+              PERL_MM_OPT="" PERL_MB_OPT="" MODULEBUILDRC=/dev/null
+
+       perl Makefile.PL INSTALLDIRS=vendor
+       make
+}
+
+check() {
+       cd Test-Without-Module-"$pkgver"
+       make test
+}
+
+package() {
+       cd Test-Without-Module-"$pkgver"
+       make install DESTDIR="$pkgdir"
+       find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}


Property changes on: perl-test-without-module/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to