[arch-commits] Commit in perl-test-without-module/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 08:35:05 UTC 2021
Date: Monday, May 24, 2021 @ 08:35:05
Author: foutrelis
Revision: 943998
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 943997, 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 943997, perl-test-without-module/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 08:35:05 UTC (rev 943998)
@@ -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=7
+
+pkgdesc='Test::Without::Module - Test fallback behaviour in absence of modules'
+url="https://search.cpan.org/dist/Test-Without-Module/"
+arch=('any')
+license=('GPL' 'PerlArtistic')
+
+depends=('perl')
+makedepends=('perl')
+checkdepends=('perl-file-slurp')
+
+source=("https://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