PKGBUILDs/community/perl-tie-hash-indexed/PKGBUILD

23 lines
700 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-tie-hash-indexed
pkgver=0.05
pkgrel=2
pkgdesc="Ordered hashes for Perl "
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Tie-Hash-Indexed"
license=('GPL' 'PerlArtistic')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MH/MHX/Tie-Hash-Indexed-$pkgver.tar.gz)
md5sums=('41e2d013df8cfafdd239bc65bbada014')
build() {
cd $startdir/src/Tie-Hash-Indexed-$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
}