blob: 343553a8e9116fb74051fbe6a44630c65681336f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: Rax Garfield <admin@dvizho.ks.ua>
# Contributor: skydrome <irc.freenode.net>
pkgname=enki-editor-git
pkgver=20.03.1.r5.gaafee43a
pkgrel=1
pkgdesc="Text editor for programmers. Live preview in Markdown, reStructuredText and HTML"
arch=('any')
url="http://enki-editor.org"
license=('GPL2')
makedepends=('git' 'python')
#'python-pyparsing'
depends=('python-pyqt5-webengine'
'python-qtconsole'
'qutepart')
optdepends=('ctags: file navigation'
'flake8: Python code lint '
'python-code-chat: source code to HTML translation (literate programming)'
'python-docutils: reStructuredText preview'
'python-markdown: Markdown preview'
'python-regex: synchronization preview '
'python-sphinx: Sphinx documentation'
'tre: synchronization preview')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=($pkgname::git+https://github.com/andreikop/enki.git)
sha256sums=('SKIP')
pkgver() {
git -C $pkgname describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
package() {
cd $pkgname
python setup.py install --root="$pkgdir/" --optimize=1
}
|