mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/perl-finance-quote: new aport
This commit is contained in:
parent
b2ba4facbf
commit
fac2e22e7b
48
testing/perl-finance-quote/APKBUILD
Normal file
48
testing/perl-finance-quote/APKBUILD
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# Contributor: Wen Heping <wenhepingalpine@sohu.com>
|
||||||
|
# Maintainer: Wen Heping <wenhepingalpine@sohu.com>
|
||||||
|
pkgname=perl-finance-quote
|
||||||
|
pkgver=1.66
|
||||||
|
pkgrel=0
|
||||||
|
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Finance-Quote
|
||||||
|
pkgdesc="Get stock and mutual fund quotes from various exchanges"
|
||||||
|
url="https://metacpan.org/release/Finance-Quote/"
|
||||||
|
arch="noarch"
|
||||||
|
license="GPL-2.0-only"
|
||||||
|
depends="
|
||||||
|
perl perl-timedate perl-datetime-format-strptime perl-devel-trace perl-html-parser
|
||||||
|
perl-html-tableextract perl-html-tree perl-html-treebuilder-xpath perl-http-cookiejar
|
||||||
|
perl-http-cookies perl-http-message perl-io-string perl-json perl-libwww
|
||||||
|
perl-lwp-protocol-https perl-mozilla-ca perl-net-ssleay perl-readonly perl-smart-comments
|
||||||
|
perl-spreadsheet-xlsx perl-string-util perl-text-template perl-uri perl-web-scraper
|
||||||
|
perl-xml-libxml
|
||||||
|
"
|
||||||
|
checkdepends="
|
||||||
|
perl-date-manip perl-date-range perl-date-simple perl-datetime perl-datetime-format-iso8601
|
||||||
|
perl-module-cpants-analyse perl-string-util perl-test-kwalitee perl-test-perl-critic
|
||||||
|
"
|
||||||
|
subpackages="$pkgname-doc"
|
||||||
|
source="https://cpan.metacpan.org/authors/id/B/BP/BPSCHUCK/Finance-Quote-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
||||||
|
INSTALLDIRS=vendor \
|
||||||
|
NO_PACKLIST=1 \
|
||||||
|
NO_PERLLOCAL=1
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
fead73e55ec1301ac8c5b5f84dee283ff5d3ff8b821504f371753fbfc9bcd47f0b07af928006ebd7f61ad72b10f901fe7e6dd23d7e7c6d5c2380f3346a44dca0 Finance-Quote-1.66.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user