Date: Wednesday, August 1, 2018 @ 12:19:34 Author: foutrelis Revision: 366740
archrelease: copy trunk to community-staging-x86_64 Added: perl-tie-hash-indexed/repos/community-staging-x86_64/ perl-tie-hash-indexed/repos/community-staging-x86_64/PKGBUILD (from rev 366739, perl-tie-hash-indexed/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: perl-tie-hash-indexed/repos/community-staging-x86_64/PKGBUILD (from rev 366739, perl-tie-hash-indexed/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-01 12:19:34 UTC (rev 366740) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Francois Charette <firmi...@gmx.net> + +pkgname=perl-tie-hash-indexed +pkgver=0.05 +pkgrel=16 +pkgdesc="Ordered hashes for Perl" +arch=('x86_64') +url="http://search.cpan.org/dist/Tie-Hash-Indexed" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/M/MH/MHX/Tie-Hash-Indexed-${pkgver}.tar.gz) +sha256sums=('a8862a4763d58a8c785e34b8b18e5db4ce5c3e36b9b5cf565a3088584eab361e') + +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 +}