diff options
author | Michael M. Tung | 2020-02-13 14:06:02 +0100 |
---|---|---|
committer | Michael M. Tung | 2020-02-13 14:06:02 +0100 |
commit | 795c45b689a395951b528ddb13fc28abb226e55a (patch) | |
tree | 154cf4f9c31636a527a8690a9cdd182f98f26c8a | |
parent | f65628caab3cba8badb083352853953af0d4c9c5 (diff) | |
download | aur-795c45b689a395951b528ddb13fc28abb226e55a.tar.gz |
adapted pkgver() and pkgrel() to new format of pandoc-panflute website
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |