summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandrParkhomenko2020-03-23 20:53:00 +0300
committerAlexandrParkhomenko2020-03-23 20:53:00 +0300
commitd69a4aa2997dce004a9c238b1cf194781f35640f (patch)
tree0e656d900bdec467735e2b2d6d66ada4f6ee5a01
parent3b8ded026f77673b3f8252a6353d6fad1e6229d2 (diff)
downloadaur-python-yfinance-git.tar.gz
pkgver
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 66753d6917a..9246d8d424c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,6 +13,11 @@ arch=('any')
source=("git://github.com/ranaroussi/yfinance")
sha256sums=('SKIP')
+pkgver() {
+ cd "${srcdir}/${_module}"
+ git log -1 --format="%cd" --date=short | sed "s|-||g"
+}
+
build() {
cd "${srcdir}/${_module}"
python setup.py build