[arch-commits] Commit in perl-finance-quote/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jun 21 16:14:18 UTC 2020


    Date: Sunday, June 21, 2020 @ 16:14:18
  Author: felixonmars
Revision: 649695

archrelease: copy trunk to community-staging-any

Added:
  perl-finance-quote/repos/community-staging-any/
  perl-finance-quote/repos/community-staging-any/PKGBUILD
    (from rev 649694, perl-finance-quote/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: perl-finance-quote/repos/community-staging-any/PKGBUILD (from rev 649694, perl-finance-quote/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-06-21 16:14:18 UTC (rev 649695)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-finance-quote
+pkgver=1.49
+pkgrel=2
+pkgdesc="Perl/CPAN Module Finance::Quote : Fetch stock prices over the Internet"
+arch=(any)
+url="https://search.cpan.org/dist/Finance-Quote/"
+license=("GPL" "PerlArtistic")
+depends=("perl-html-tree" "perl-html-tableextract" "perl-crypt-ssleay"
+	 "perl-libwww" "perl-date-calc" "perl-json" "perl-datetime" "perl-cgi"
+	 "perl-text-template" "perl-datetime-format-strptime"
+	 "perl-json-parse" "perl-string-util")
+source=("https://search.cpan.org/CPAN/authors/id/E/EC/ECOCODE/Finance-Quote-$pkgver.tar.gz")
+sha256sums=('95dbc4443ba656320b363c56625d04f379c943e202f60f40a2a35152b54bbf53')
+
+build() {
+  cd "$srcdir"/Finance-Quote-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/Finance-Quote-$pkgver
+  make install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list