summaryrefslogtreecommitdiff
path: root/community-testing/perl-string-crc32/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/perl-string-crc32/PKGBUILD')
-rw-r--r--community-testing/perl-string-crc32/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community-testing/perl-string-crc32/PKGBUILD b/community-testing/perl-string-crc32/PKGBUILD
new file mode 100644
index 000000000..8ba55cfb1
--- /dev/null
+++ b/community-testing/perl-string-crc32/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 71448 2012-05-27 07:41:55Z bluewind $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Charles Mauch <cmauch@gmail.com>
+
+pkgname=perl-string-crc32
+pkgver=1.4
+pkgrel=8
+pkgdesc="Perl/CPAN Module String::CRC32 : ZMODEMlike CRC32 generation"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/String-CRC32"
+license=("GPL" "PerlArtistic")
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/S/SO/SOENKE/String-CRC32-${pkgver}.tar.gz")
+md5sums=('9b241bc4a482a3aa59fbb1429bc30546')
+
+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
+}