summaryrefslogtreecommitdiff
path: root/community/perl-string-crc32/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-string-crc32/PKGBUILD
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-string-crc32/PKGBUILD')
-rw-r--r--community/perl-string-crc32/PKGBUILD23
1 files changed, 16 insertions, 7 deletions
diff --git a/community/perl-string-crc32/PKGBUILD b/community/perl-string-crc32/PKGBUILD
index 4c0e43d4f..de3d39177 100644
--- a/community/perl-string-crc32/PKGBUILD
+++ b/community/perl-string-crc32/PKGBUILD
@@ -1,22 +1,31 @@
-# $Id: PKGBUILD 35703 2010-12-22 01:25:32Z tdziedzic $
+# $Id: PKGBUILD 47584 2011-05-23 20:23:28Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-string-crc32
pkgver=1.4
-pkgrel=5
+pkgrel=6
pkgdesc="Perl/CPAN Module String::CRC32 : ZMODEMlike CRC32 generation"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/String-CRC32"
license=("GPL" "PerlArtistic")
-source=("http://www.cpan.org/authors/id/S/SO/SOENKE/String-CRC32-$pkgver.tar.gz")
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/S/SO/SOENKE/String-CRC32-${pkgver}.tar.gz")
md5sums=('9b241bc4a482a3aa59fbb1429bc30546')
build() {
- cd $srcdir/String-CRC32-$pkgver
+ cd String-CRC32-${pkgver}
+
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
make
- make pure_install doc_install DESTDIR=$pkgdir
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
+}
+
+package() {
+ cd String-CRC32-${pkgver}
+
+ make pure_install doc_install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}