PKGBUILDs/community/perl-graphics-colornames/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
872 B
Bash

# $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-graphics-colornames
pkgver=2.11
pkgrel=1
pkgdesc="Perl/CPAN Module Graphics::ColorNames : provides RGB values for standard color names"
arch=("i686" "x86_64")
url="http://search.cpan.org/~rrwo/Graphics-ColorNames/"
license=("GPL" "Artistic")
depends=("perl")
source=("http://search.cpan.org/CPAN/authors/id/R/RR/RRWO/Graphics-ColorNames-$pkgver.tar.gz")
build() {
cd $startdir/src/Graphics-ColorNames-$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=('047eabbb48d7c29cfebac6f9da8478f6')