PKGBUILDs/community/perl-term-readline/PKGBUILD

24 lines
827 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-term-readline
pkgver=1.0302
pkgrel=1
pkgdesc="GNU Readline history and completion in Perl"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Term-ReadLine-Perl"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/Term-ReadLine-Perl-$pkgver.tar.gz)
md5sums=('b68fca52e071e5307670519609ab269c')
build() {
cd $startdir/src/Term-ReadLine-Perl-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}