# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: arjan pkgname=perl-string-shellquote _realname=String-ShellQuote pkgver=1.03 pkgrel=2 pkgdesc="Quote strings for passing through the shell" arch=(i686 x86_64) license=('GPL') url="http://search.cpan.org/dist/${_realname}/" depends=('perl>=5.10.0') replaces=string-shellquote source=(http://www.cpan.org/modules/by-module/URI/ROSCH/${_realname}-${pkgver}.tar.gz) options=(!emptydirs) md5sums=('b42822efe385f6604f55b0cea5ac0b76') build() { cd ${startdir}/src/${_realname}-${pkgver} # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${startdir}/pkg || return 1 # remove perllocal.pod and .packlist find ${startdir}/pkg -name perllocal.pod -delete find ${startdir}/pkg -name .packlist -delete }