Date: Saturday, May 25, 2019 @ 11:46:53 Author: felixonmars Revision: 470479
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 470477, perl-tie-cphash/trunk/PKGBUILD) ----------+ PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Copied: perl-tie-cphash/repos/community-staging-any/PKGBUILD (from rev 470477, perl-tie-cphash/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-05-25 11:46:53 UTC (rev 470479) @@ -0,0 +1,26 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Charles Mauch <cma...@gmail.com> + +pkgname=perl-tie-cphash +pkgver=2.000 +pkgrel=5 +pkgdesc="Perl/CPAN Module Tie::CPHash : Case preserving but case insensitive hash" +arch=("any") +url="https://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 +}