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

Felix Yan felixonmars at archlinux.org
Sat May 25 11:41:48 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:41:47
  Author: felixonmars
Revision: 470429

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 470428, perl-string-crc32/trunk/PKGBUILD)

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

Copied: perl-string-crc32/repos/community-staging-x86_64/PKGBUILD (from rev 470428, perl-string-crc32/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-05-25 11:41:47 UTC (rev 470429)
@@ -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=1.7
+pkgrel=2
+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=('8f164e5895c3344b8c4e789f709cadd6f2ab47b4d965040e7fcbf5c7fae22bc8')
+
+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