summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d087e11540f2f2a53e85b7a9e60c62661c33039 (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
31
32
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
pkgname=perlconsole
pkgver=0.4
pkgrel=5
pkgdesc="A lightweight perl REPL using Term::Readline"
arch=(any)
url="https://metacpan.org/release/perlconsole"
license=(GPL2)
depends=(perl-module-refresh perl-lexical-persistence perl-b-keywords)
optdepends=("perl-term-readline-gnu: tab completion, arrow keys")
backup=()
options=(!emptydirs)
install=
source=(https://search.cpan.org/CPAN/authors/id/S/SU/SUKRIA/$pkgname-$pkgver.tar.gz)
md5sums=('4a31b5f720b3c05f1a5564ce78459f22')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}

# vim:set ts=2 sw=2 et:
md5sums=('4a31b5f720b3c05f1a5564ce78459f22')