summaryrefslogtreecommitdiff
path: root/community/perl-tie-hash-indexed/PKGBUILD
blob: 02446da64ac2c28ba4de304b05dcf37bfbc749bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 71833 2012-06-02 10:32:16Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-tie-hash-indexed
pkgver=0.05
pkgrel=8
pkgdesc="Ordered hashes for Perl"
arch=('i686' 'x86_64' 'mips64el')
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
}