[arch-commits] Commit in perl-string-crc32/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sun May 29 11:59:40 UTC 2022


    Date: Sunday, May 29, 2022 @ 11:59:40
  Author: felixonmars
Revision: 1214628

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-string-crc32/repos/community-staging-x86_64/
  perl-string-crc32/repos/community-staging-x86_64/PKGBUILD
    (from rev 1214626, perl-string-crc32/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: perl-string-crc32/repos/community-staging-x86_64/PKGBUILD (from rev 1214626, perl-string-crc32/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-05-29 11:59:40 UTC (rev 1214628)
@@ -0,0 +1,30 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-string-crc32
+pkgver=2
+pkgrel=3
+pkgdesc="Perl/CPAN Module String::CRC32 : ZMODEMlike CRC32 generation"
+arch=("x86_64")
+url="https://search.cpan.org/dist/String-CRC32"
+license=("GPL" "PerlArtistic")
+options=('!emptydirs')
+source=("https://cpan.metacpan.org/authors/id/L/LE/LEEJO/String-CRC32-$pkgver.tar.gz")
+sha256sums=('edb7feae50ec9fd71257d8fb21e1fed7ff4dfe30d798b1af226d2af7a6bdd92d')
+
+build() {
+  cd String-CRC32-${pkgver}
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd String-CRC32-${pkgver}
+
+  make pure_install doc_install DESTDIR="$pkgdir"
+
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list