PKGBUILDs/community/perl-string-crc32/PKGBUILD

22 lines
785 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-string-crc32
pkgver=1.4
pkgrel=3
pkgdesc="Perl/CPAN Module String::CRC32 : ZMODEMlike CRC32 generation"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/String-CRC32"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/S/SO/SOENKE/String-CRC32-1.4.tar.gz")
md5sums=('9b241bc4a482a3aa59fbb1429bc30546')
build() {
cd $startdir/src/String-CRC32-1.4
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}