Date: Friday, April 12, 2019 @ 16:28:05 Author: felixonmars Revision: 451297
archrelease: copy trunk to community-any Added: perl-shell-guess/repos/community-any/ perl-shell-guess/repos/community-any/PKGBUILD (from rev 451296, perl-shell-guess/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: perl-shell-guess/repos/community-any/PKGBUILD (from rev 451296, perl-shell-guess/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2019-04-12 16:28:05 UTC (rev 451297) @@ -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 +}