diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/perl-tie-hash-indexed/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/perl-tie-hash-indexed/PKGBUILD')
-rw-r--r-- | community/perl-tie-hash-indexed/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/perl-tie-hash-indexed/PKGBUILD b/community/perl-tie-hash-indexed/PKGBUILD new file mode 100644 index 000000000..67a21ae28 --- /dev/null +++ b/community/perl-tie-hash-indexed/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 91698 2013-05-26 09:26:10Z bluewind $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Francois Charette <firmicus@gmx.net> + +pkgname=perl-tie-hash-indexed +pkgver=0.05 +pkgrel=9 +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 Tie-Hash-Indexed-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Tie-Hash-Indexed-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} |