diff options
author | AdmiringWorm | 2019-04-13 18:44:50 +0200 |
---|---|---|
committer | AdmiringWorm | 2019-04-13 21:04:06 +0200 |
commit | f79a0dbe977689f8509c8b06222ad71c2dd7d9a1 (patch) | |
tree | 8e3d254b82390dc747969d4bb1862d3f1fc08127 | |
download | aur-f79a0dbe977689f8509c8b06222ad71c2dd7d9a1.tar.gz |
Initial build script implementation
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 42 |
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6e8ad1c58bb3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = enki-editor + pkgdesc = A text editor for programmers + pkgver = 18.08.0 + pkgrel = 1 + url = http://enki-editor.org/ + arch = any + license = GPL2 + makedepends = python-setuptools + depends = python-markdown + depends = python-pyqtwebengine + depends = python-qtconsole + depends = desktop-file-utils + depends = qutepart + optdepends = ctags: For navigation in file + optdepends = flake8: To lint your Python code. + optdepends = python-docutils: For reStructuredText preview + optdepends = python-regex: For preview synchronization + optdepends = python-sphinx: To build Sphinx documentation. + optdepends = python-code-chat-git: For source code to HTML translation (literate programming) + source = https://github.com/andreikop/enki/archive/v18.08.0.tar.gz + sha256sums = 1a943a9f5144324ce3bbf9d71de495b24b6a608f20b512cad72597a644a1fc91 + +pkgname = enki-editor + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..79042f2232df --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.tar.gz +*.tar.xz +*.log +pkg/ +src/
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..576ad65a913e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: AdmiringWorm <kim.nordmo@gmail.com> +pkgname=enki-editor +_pkgname=enki +pkgver=18.08.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=('1a943a9f5144324ce3bbf9d71de495b24b6a608f20b512cad72597a644a1fc91') + +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 +} |