Date: Wednesday, August 1, 2018 @ 12:14:16 Author: foutrelis Revision: 366705
archrelease: copy trunk to community-staging-any Added: perl-tie-cphash/repos/community-staging-any/ perl-tie-cphash/repos/community-staging-any/PKGBUILD (from rev 366704, perl-tie-cphash/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: perl-tie-cphash/repos/community-staging-any/PKGBUILD (from rev 366704, perl-tie-cphash/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2018-08-01 12:14:16 UTC (rev 366705) @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Charles Mauch <cma...@gmail.com> + +pkgname=perl-tie-cphash +pkgver=2.000 +pkgrel=4 +pkgdesc="Perl/CPAN Module Tie::CPHash : Case preserving but case insensitive hash" +arch=("any") +url="http://search.cpan.org/dist/Tie-CPHash" +license=("GPL" "PerlArtistic") +depends=('perl') +source=("https://www.cpan.org/authors/id/C/CJ/CJM/Tie-CPHash-$pkgver.tar.gz") +sha256sums=('001eef7574f2c4057a193e95889903d5aedd412baea142003fa78707df6defdc') + +build() { + cd "$srcdir"/Tie-CPHash-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir"/Tie-CPHash-$pkgver + make install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +}