updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / perlconsole / PKGBUILD
blobb5145cec401c132622473f093b974d01febb2675
1 # Contributor: Daenyth <Daenyth+Arch AT gmail DOT com>
2 pkgname=perlconsole
3 pkgver=0.4
4 pkgrel=1
5 pkgdesc="A lightweight perl REPL using Term::Readline"
6 arch=(any)
7 url="http://www.sukria.net/perlconsole.html"
8 license=(GPL2)
9 depends=(perl-term-readline perl-module-refresh perl-lexical-persistence)
10 backup=()
11 options=(!emptydirs)
12 install=
13 source=(http://search.cpan.org/CPAN/authors/id/S/SU/SUKRIA/$pkgname-$pkgver.tar.gz)
14 md5sums=('4a31b5f720b3c05f1a5564ce78459f22')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19 # install module in vendor directories.
20   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21   make || return 1
22   make install DESTDIR="$pkgdir/" || return 1
25 # vim:set ts=2 sw=2 et: