# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Wael Nasreddine pkgname=perl-term-read-password pkgver=0.11 pkgrel=2 pkgdesc="lets you ask the user for a password without echoing" arch=(i686 x86_64) license=('GPL' 'PerlArtistic') depends=('perl') url="http://search.cpan.org/dist/Term" source=(http://cpan.org/modules/by-module/Term/Term-ReadPassword-$pkgver.tar.gz) md5sums=('e4e611f2a1efcf99c2b0c0488dd615e6') build() { cd $startdir/src/Term-ReadPassword-$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 }