[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Fri Apr 12 13:17:58 UTC 2019


    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 <felixonmars at 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
+}


More information about the arch-commits mailing list