summaryrefslogtreecommitdiff
path: root/pcr/perl-term-shellui/PKGBUILD
blob: 534c3a08bba6befd384327601e9a3eff3231806f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor (Arch): François Charette <firmicus ατ gmx δοτ net>
# Maintainer (Arch): mutantmonkey <aur@mutantmonkey.in>

pkgname=perl-term-shellui
pkgver=0.92
pkgrel=4
pkgdesc="A fully-featured shell-like command line environment "
arch=('any')
url="http://search.cpan.org/~BRONSON/Term-ShellUI"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(https://cpan.metacpan.org/authors/id/B/BR/BRONSON/Term-ShellUI-$pkgver.tar.gz)
sha256sums=('3279c01c76227335eeff09032a40f4b02b285151b3576c04cacd15be05942bdb')

build() {
  cd $srcdir/Term-ShellUI-$pkgver
  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
  perl Makefile.PL
  make
}

package() {
  cd $srcdir/Term-ShellUI-$pkgver
  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}

# vim:set ts=2 sw=2 et: