Date: Friday, April 12, 2019 @ 13:18:16 Author: felixonmars Revision: 451270
archrelease: copy trunk to community-any Added: perl-test-script/repos/community-any/ perl-test-script/repos/community-any/PKGBUILD (from rev 451269, perl-test-script/trunk/PKGBUILD) ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Copied: perl-test-script/repos/community-any/PKGBUILD (from rev 451269, perl-test-script/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2019-04-12 13:18:16 UTC (rev 451270) @@ -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 +}