[arch-commits] Commit in perl-test-script/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 10:38:48 UTC 2019


    Date: Saturday, May 25, 2019 @ 10:38:47
  Author: foutrelis
Revision: 470248

archrelease: copy trunk to community-staging-any

Added:
  perl-test-script/repos/community-staging-any/
  perl-test-script/repos/community-staging-any/PKGBUILD
    (from rev 470247, perl-test-script/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: perl-test-script/repos/community-staging-any/PKGBUILD (from rev 470247, perl-test-script/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 10:38:47 UTC (rev 470248)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-test-script
+pkgver=1.25
+pkgrel=2
+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
+}


More information about the arch-commits mailing list