Date: Thursday, April 11, 2019 @ 05:17:32 Author: felixonmars Revision: 450936
addpkg: perl-test-exit 0.11-1 Added: perl-test-exit/ perl-test-exit/repos/ perl-test-exit/trunk/ perl-test-exit/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: perl-test-exit/trunk/PKGBUILD =================================================================== --- perl-test-exit/trunk/PKGBUILD (rev 0) +++ perl-test-exit/trunk/PKGBUILD 2019-04-11 05:17:32 UTC (rev 450936) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-test-exit +pkgver=0.11 +pkgrel=1 +pkgdesc="Test whether code exits without terminating testing." +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/Test-Exit" +depends=('perl-return-multilevel') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/A/AR/ARODLAND/Test-Exit-$pkgver.tar.gz") +sha512sums=('cd2ebb191f1d0c64017df9c4de50539985b96251222d88c644dafeb64b7373afdf28cd84d1c58caa78ee5704650f94efdd0e2971bbba962c1aeb799e812f26e4') + +build() { + cd Test-Exit-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Test-Exit-$pkgver + make test +} + +package() { + cd Test-Exit-$pkgver + make DESTDIR="$pkgdir" install +}