summaryrefslogtreecommitdiff
path: root/community/perl-tie-hash-indexed
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-tie-hash-indexed
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-tie-hash-indexed')
-rw-r--r--community/perl-tie-hash-indexed/PKGBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/community/perl-tie-hash-indexed/PKGBUILD b/community/perl-tie-hash-indexed/PKGBUILD
index 45d51b8e5..687e000c1 100644
--- a/community/perl-tie-hash-indexed/PKGBUILD
+++ b/community/perl-tie-hash-indexed/PKGBUILD
@@ -1,24 +1,32 @@
-# $Id: PKGBUILD 35712 2010-12-22 01:27:48Z tdziedzic $
+# $Id: PKGBUILD 47578 2011-05-23 20:16:48Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-tie-hash-indexed
pkgver=0.05
-pkgrel=5
+pkgrel=6
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)
+source=(http://www.cpan.org/authors/id/M/MH/MHX/Tie-Hash-Indexed-${pkgver}.tar.gz)
md5sums=('41e2d013df8cfafdd239bc65bbada014')
build() {
- cd $srcdir/Tie-Hash-Indexed-$pkgver
+ cd Tie-Hash-Indexed-${pkgver}
+
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
make
- make install DESTDIR=$pkgdir
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
+}
+
+package() {
+ cd Tie-Hash-Indexed-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}