Date: Friday, April 12, 2019 @ 16:27:42
  Author: felixonmars
Revision: 451296

addpkg: perl-shell-guess 0.09-1

Added:
  perl-shell-guess/
  perl-shell-guess/repos/
  perl-shell-guess/trunk/
  perl-shell-guess/trunk/PKGBUILD

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

Added: perl-shell-guess/trunk/PKGBUILD
===================================================================
--- perl-shell-guess/trunk/PKGBUILD                             (rev 0)
+++ perl-shell-guess/trunk/PKGBUILD     2019-04-12 16:27:42 UTC (rev 451296)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=perl-shell-guess
+pkgver=0.09
+pkgrel=1
+pkgdesc="Make an educated guess about the shell in use"
+arch=('any')
+license=('PerlArtistic')
+url="https://metacpan.org/release/Shell-Guess";
+depends=('perl')
+checkdepends=('tcsh')
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Shell-Guess-$pkgver.tar.gz";)
+sha512sums=('60d8b315491cd10eb2cb1c3941db6369d93148e0bd500c72bc082b1673624dead6485d4238e241127c3a04a0f776222fbb90a40af6a327ed9e2988852fff544e')
+
+build() {
+  cd Shell-Guess-$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+check() {
+  cd Shell-Guess-$pkgver
+  make test
+}
+
+package() {
+  cd Shell-Guess-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Reply via email to