summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ea0567c3b65..63e0c3d9a56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,36 @@
-# Maintainer: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
+# Maintainer: Max Zhao <alcasa.mz@gmail.com>
+# Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
-_pkgname=instant-rst
-pkgname="vim-${_pkgname}"
-_commit=2d32636 # 7 digits
-pkgver=20170628
+pkgname=instant-rst
+_commit=48ebd40 # 7 digits
+pkgver=20180612
pkgrel=1
pkgdesc="A local server for preview rst document instantly"
arch=('any')
url="https://github.com/Rykka/instant-rst.py"
license=('CPL')
-depends=('python2-flask' 'python2-docutils' 'python2-pygments' 'python2-flask-socketio' 'python2-socketio')
-makedepends=('python2-setuptools')
+depends=('python-flask' 'python-docutils' 'python-pygments' 'python-flask-socketio' 'python-socketio' 'python-future')
+makedepends=('python-setuptools')
optdepends=('vim' 'neovim')
-source=("${_pkgname}::git+https://github.com/Rykka/${_pkgname}.py.git#commit=${_commit}")
+source=("${pkgname}::git+https://github.com/tlinhart/${pkgname}.py.git#commit=${_commit}")
md5sums=('SKIP')
pkgver() {
- cd "${_pkgname}"
+ cd "${pkgname}"
git log -1 --format="%cd" --date=short | tr -d '-'
}
build() {
- cd "${_pkgname}"
+ cd "${pkgname}"
- python2 setup.py build
+ python setup.py build
}
package() {
- cd "${_pkgname}"
+ cd "${pkgname}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
+ python setup.py install --root="${pkgdir}" --optimize=1
}
# vim:set ts=2 sw=2 cc=80 et: