summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael M. Tung2020-02-13 14:06:02 +0100
committerMichael M. Tung2020-02-13 14:06:02 +0100
commit795c45b689a395951b528ddb13fc28abb226e55a (patch)
tree154cf4f9c31636a527a8690a9cdd182f98f26c8a
parentf65628caab3cba8badb083352853953af0d4c9c5 (diff)
downloadaur-795c45b689a395951b528ddb13fc28abb226e55a.tar.gz
adapted pkgver() and pkgrel() to new format of pandoc-panflute website
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f8c3efe6a4fe..2a2a9b33a65d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,11 +17,11 @@ source=('git://github.com/sergiocorreia/panflute.git')
md5sums=('SKIP')
pkgver() {
- curl -s https://raw.githubusercontent.com/sergiocorreia/panflute/master/panflute/version.py | sed -e "s/.*= '\(.*\)\..*'/\1/"
+ curl -s https://raw.githubusercontent.com/sergiocorreia/panflute/master/panflute/version.py | tail -1 | sed -e "s/.*= '\(.*\)\..*'/\1/"
}
pkgrel() {
- curl -s https://raw.githubusercontent.com/sergiocorreia/panflute/master/panflute/version.py | sed -e "s/.*= '.*\..*\.\(.*\).*'/\1/"
+ curl -s https://raw.githubusercontent.com/sergiocorreia/panflute/master/panflute/version.py | tail -1 | sed -e "s/.*= '.*\..*\.\(.*\).*'/\1/"
}
package() {