PKGBUILDs/community/perl-graphics-colornames-www/PKGBUILD

26 lines
946 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-graphics-colornames-www
pkgver=1.00
pkgrel=1
pkgdesc="Perl/CPAN Module Graphics::ColorNames::WWW"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Graphics-ColorNames-WWW"
license=("GPL" "Artistic")
makedepends=("perl-graphics-colornames")
depends=("perl-graphics-colornames")
source=("http://www.cpan.org/authors/id/C/CF/CFAERBER/Graphics-ColorNames-WWW-$pkgver.tar.gz")
build() {
cd $startdir/src/Graphics-ColorNames-WWW-$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=('9e0ab306ab2ffc9aa3f33ce233e6d20f')
md5sums=('9e0ab306ab2ffc9aa3f33ce233e6d20f')