[arch-commits] Commit in perl-io-digest/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:03:22 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:03:22
Author: foutrelis
Revision: 366639
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 366638, perl-io-digest/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-io-digest/repos/community-staging-any/PKGBUILD (from rev 366638, perl-io-digest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:03:22 UTC (rev 366639)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-io-digest
+pkgver=0.11
+pkgrel=4
+pkgdesc="Perl/CPAN Module IO::Digest"
+arch=("any")
+url="http://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