diff options
author | Michael M. Tung | 2019-04-06 17:33:29 +0200 |
---|---|---|
committer | Michael M. Tung | 2019-04-06 17:33:29 +0200 |
commit | f65628caab3cba8badb083352853953af0d4c9c5 (patch) | |
tree | 66f92d364bb3ce1bb3faa014b6835d4d85133d0b | |
parent | ef516dc4c1e0ade62e4b062d32721d192c0befb7 (diff) | |
download | aur-f65628caab3cba8badb083352853953af0d4c9c5.tar.gz |
update to v1.11.2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = pandoc-panflute pkgdesc = A Python package that makes creating Pandoc filters fun. pkgver = 1.11 - pkgrel = 1 + pkgrel = 2 url = https://github.com/sergiocorreia/panflute arch = any license = BSD3 @@ -2,7 +2,7 @@ pkgname=pandoc-panflute pkgver=1.11 -pkgrel=1 +pkgrel=2 pkgdesc='A Python package that makes creating Pandoc filters fun.' url='https://github.com/sergiocorreia/panflute' depends=('pandoc' 'python' 'python-pandocfilters' 'python-shutilwhich' 'python-future') @@ -16,10 +16,13 @@ conflicts=('pandoc-panflute-git') source=('git://github.com/sergiocorreia/panflute.git') md5sums=('SKIP') -#pkgver() { -# cd ${srcdir}/panflute -# git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' -#} +pkgver() { + curl -s https://raw.githubusercontent.com/sergiocorreia/panflute/master/panflute/version.py | sed -e "s/.*= '\(.*\)\..*'/\1/" +} + +pkgrel() { + curl -s https://raw.githubusercontent.com/sergiocorreia/panflute/master/panflute/version.py | sed -e "s/.*= '.*\..*\.\(.*\).*'/\1/" +} package() { cd "$srcdir/panflute" |