[arch-commits] Commit in perl-test-without-module/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 09:18:26 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:18:26
Author: foutrelis
Revision: 366364
archrelease: copy trunk to community-staging-any
Added:
perl-test-without-module/repos/community-staging-any/
perl-test-without-module/repos/community-staging-any/PKGBUILD
(from rev 366363, perl-test-without-module/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: perl-test-without-module/repos/community-staging-any/PKGBUILD (from rev 366363, perl-test-without-module/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 09:18:26 UTC (rev 366364)
@@ -0,0 +1,43 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Piotr Rogoża <piotr dot r dot public at gmail dot com>
+
+pkgname=perl-test-without-module
+pkgver=0.20
+pkgrel=4
+
+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=('8e9aeb7c32a6c6d0b8a93114db2a8c072721273a9d9a2dd4f9ca86cfd28aa524')
+
+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
+}
More information about the arch-commits
mailing list