archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-shell-guess / repos / community-any / PKGBUILD
blob637bd5290159740f7cb7771804fa1c8036d30ab1
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-shell-guess
4 pkgver=0.09
5 pkgrel=5
6 pkgdesc="Make an educated guess about the shell in use"
7 arch=('any')
8 license=('PerlArtistic')
9 url="https://metacpan.org/release/Shell-Guess"
10 depends=('perl')
11 checkdepends=('tcsh')
12 options=('!emptydirs')
13 source=("https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Shell-Guess-$pkgver.tar.gz")
14 sha512sums=('60d8b315491cd10eb2cb1c3941db6369d93148e0bd500c72bc082b1673624dead6485d4238e241127c3a04a0f776222fbb90a40af6a327ed9e2988852fff544e')
16 build() {
17   cd Shell-Guess-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd Shell-Guess-$pkgver
24   make test
27 package() {
28   cd Shell-Guess-$pkgver
29   make DESTDIR="$pkgdir" install