diff options
author | Simon Legner | 2020-10-21 16:44:03 +0200 |
---|---|---|
committer | Simon Legner | 2020-10-21 16:44:03 +0200 |
commit | 582617e7794b330a71805140c4672cd3bed1d4a2 (patch) | |
tree | bf13b640aa8d4b20583fbfd8c6c6d1c56cfcdd6c /PKGBUILD | |
download | aur-perl-app-prove-plugin-passenv.tar.gz |
Initial upload: perl-app-prove-plugin-passenv 0.002-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5bfe7d55c85c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Simon Legner <Simon.Legner@gmail.com> +pkgname=perl-app-prove-plugin-passenv +pkgver=0.002 +pkgrel=1 +pkgdesc='A prove plugin to pass environment variables to your tests behind prove' +_dist=App-Prove-Plugin-PassEnv +arch=('any') +url="https://metacpan.org/release/$_dist" +license=('PerlArtistic') +depends=('perl' 'perl-test-harness') +options=('!emptydirs' purge) +source=("https://cpan.metacpan.org/authors/id/H/HU/HURRICUP/$_dist-$pkgver.tar.gz") + +build() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + /usr/bin/perl Makefile.PL + make +} + +package() { + cd "$srcdir/$_dist-$pkgver" + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} + +sha256sums=('bc8ee0513ab921af61eb76c4ff22dad6e3d8530b8c316b8e8054201c0d30a551') |