PKGBUILDs/community/perl-finance-quote/PKGBUILD
2009-10-09 21:15:33 -05:00

24 lines
966 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-finance-quote
pkgver=1.16
pkgrel=1
pkgdesc="Perl/CPAN Module Finance::Quote : Fetch stock prices over the Internet"
arch=("i686" "x86_64")
url="http://search.cpan.org/~ecocode/Finance-Quote/"
license=("GPL" "Artistic")
makedepends=( "perl-html-tableextract" "perl-crypt-ssleay" "perl-libwww")
depends=("perl-html-tree" "perl-html-tableextract" "perl-crypt-ssleay" "perl-libwww")
source=("http://search.cpan.org/CPAN/authors/id/E/EC/ECOCODE/Finance-Quote-$pkgver.tar.gz")
md5sums=('079f20db2a100f63fa03e29beb1e9939')
build() {
cd $startdir/src/Finance-Quote-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}