[arch-commits] Commit in perl-io-digest/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 11:24:56 UTC 2021
Date: Monday, May 24, 2021 @ 11:24:56
Author: foutrelis
Revision: 944411
archrelease: copy trunk to community-staging-any
Added:
perl-io-digest/repos/community-staging-any/
perl-io-digest/repos/community-staging-any/PKGBUILD
(from rev 944410, perl-io-digest/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: perl-io-digest/repos/community-staging-any/PKGBUILD (from rev 944410, perl-io-digest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 11:24:56 UTC (rev 944411)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-io-digest
+pkgver=0.11
+pkgrel=7
+pkgdesc="Perl/CPAN Module IO::Digest"
+arch=("any")
+url="https://search.cpan.org/~clkao/IO-Digest/"
+license=("GPL" "PerlArtistic")
+depends=('perl' 'perlio-via-dynamic')
+source=("https://www.cpan.org/authors/id/C/CL/CLKAO/IO-Digest-$pkgver.tar.gz")
+sha256sums=('8ffcf85a7f6213e5e94140adcc2b179ed02498eadc84309457e904dec93f7f92')
+
+build() {
+ cd "$srcdir"/IO-Digest-$pkgver
+ PERL_USE_UNSAFE_INC=1 \
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir"/IO-Digest-$pkgver
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
+}
More information about the arch-commits
mailing list