summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f86cdd5afa834aa8e3128929638b353b61a64f4 (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
39
40
41
42
43
# Maintainer: blacktea <blackteahamburger@outlook.com>
# Contributor: AdmiringWorm <kim.nordmo@gmail.com>
pkgname=enki-editor
_pkgname=enki
pkgver=19.10.0
pkgrel=1
pkgdesc="A text editor for programmers"
arch=(any)
url="http://enki-editor.org/"
license=('GPL2')
depends=(
	"python-markdown"
	"python-pyqtwebengine"
	"python-qtconsole" # Required to change settings
	"desktop-file-utils"
	# AUR Packages
	"qutepart")
optdepends=(
	"ctags: For navigation in file"
	"flake8: To lint your Python code."
	"python-docutils: For reStructuredText preview"
	"python-regex: For preview synchronization"
	"python-sphinx: To build Sphinx documentation."
	"python-code-chat-git: For source code to HTML translation (literate programming)"
)
makedepends=("python-setuptools")
source=("https://github.com/andreikop/${_pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('70764f0ec564224df5699fe017d5de94c77455453e0ec9dcdd5415f8517f22db')

build() {
	cd "$_pkgname-$pkgver"
	python setup.py build
}

check() {
	cd "$_pkgname-$pkgver"
	python tests/run_all.py
}

package() {
	cd "$_pkgname-$pkgver"
	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}