[arch-commits] Commit in perl-tie-hash-indexed/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 21 16:07:55 UTC 2020
Date: Sunday, June 21, 2020 @ 16:07:52
Author: felixonmars
Revision: 649623
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 649619, perl-tie-hash-indexed/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: perl-tie-hash-indexed/repos/community-staging-x86_64/PKGBUILD (from rev 649619, perl-tie-hash-indexed/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-06-21 16:07:52 UTC (rev 649623)
@@ -0,0 +1,31 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Francois Charette <firmicus at gmx.net>
+
+pkgname=perl-tie-hash-indexed
+pkgver=0.05
+pkgrel=19
+pkgdesc="Ordered hashes for Perl"
+arch=('x86_64')
+url="https://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
+}
More information about the arch-commits
mailing list