Date: Friday, April 12, 2019 @ 13:17:58 Author: felixonmars Revision: 451269
addpkg: perl-test-script 1.25-1 Added: perl-test-script/ perl-test-script/repos/ perl-test-script/trunk/ perl-test-script/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: perl-test-script/trunk/PKGBUILD =================================================================== --- perl-test-script/trunk/PKGBUILD (rev 0) +++ perl-test-script/trunk/PKGBUILD 2019-04-12 13:17:58 UTC (rev 451269) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=perl-test-script +pkgver=1.25 +pkgrel=1 +pkgdesc="Basic cross-platform tests for scripts" +arch=('any') +license=('PerlArtistic') +url="https://metacpan.org/release/Test-Script" +depends=('perl-capture-tiny' 'perl-probe-perl' 'perl-test2-suite') +options=('!emptydirs') +source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Test-Script-$pkgver.tar.gz") +sha512sums=('307aeb0692ff4f116bbdadced22526ee583df184742ffde7922e18e2949889b309f57d12dfdc4fef65d55489634dedd77d57fa76ba7b12fc3e58c3bb71b6d81b') + +build() { + cd Test-Script-$pkgver + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd Test-Script-$pkgver + make test +} + +package() { + cd Test-Script-$pkgver + make DESTDIR="$pkgdir" install +}