PKGBUILDs/community/perl-term-read-password/PKGBUILD

24 lines
803 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
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
}