diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0ce08304fb71 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = stock_quote + pkgdesc = python script for getting stock quotes from yahoo and calculting gains and losses + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/gps1539/stock_quote + arch = any + license = GPL + makedepends = git + depends = python + source = https://raw.githubusercontent.com/gps1539/stock_quote/master/stock_quote.py + md5sums = 9f2ce0a313a88dc6cc7d160abfbfde83 + +pkgname = stock_quote + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8de23c5da015 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Graham Smith <gps1539 at gmail dot com> + +pkgname=stock_quote +pkgver=0.1 +pkgrel=1 +pkgdesc="python script for getting stock quotes from yahoo and calculting gains and losses" +arch=('any') +license=('GPL') +url='https://github.com/gps1539/stock_quote' +depends=('python') +makedepends=('git') +source=("https://raw.githubusercontent.com/gps1539/stock_quote/master/stock_quote.py") +md5sums=('9f2ce0a313a88dc6cc7d160abfbfde83') + +package() +{ + install -d "$pkgdir/usr/bin/" + install -m755 "stock_quote.py" "$pkgdir/usr/bin/" +} |