# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Maintainer: Charles Mauch pkgname=perl-color-calc pkgver=1.05 pkgrel=1 pkgdesc="Perl/CPAN Module Color::Calc : Simple calculations with RGB colors" arch=("i686" "x86_64") url="http://search.cpan.org/dist/Color-Calc" license=("GPL" "Artistic") makedepends=("perl-params-validate" "perl-graphics-colornames-www" "perl-graphics-colornames") depends=("perl-params-validate" "perl-graphics-colornames-www" "perl-graphics-colornames") source=("http://search.cpan.org/CPAN/authors/id/C/CF/CFAERBER/Color-Calc-$pkgver.tar.gz") build() { cd $startdir/src/Color-Calc-$pkgver 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 } md5sums=('615e24e1183f1335b70d63c19b499677') md5sums=('615e24e1183f1335b70d63c19b499677')