diff options
author | Dimitris Kiziridis | 2020-06-07 02:54:22 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-06-07 02:54:22 +0300 |
commit | 7c65d4678a2ed3e36f0e426dcd697016a65daae8 (patch) | |
tree | f32ba552bd48d4c133bcc1849fe773eeb75a41ef | |
download | aur-7c65d4678a2ed3e36f0e426dcd697016a65daae8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5055ee56474d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = vy + pkgdesc = A vim-like text editor in python, made from scratch + pkgver = 4.2.0 + pkgrel = 1 + url = https://github.com/vyapp/vy + arch = any + license = MIT + makedepends = python-setuptools + makedepends = gendesk + depends = python-vulture + depends = python-pyflakes + depends = python-jedi + depends = python-pygments + depends = python-future + depends = python-rope + depends = mypy + depends = python-untwisted + source = vy-4.2.0.tar.gz::https://github.com/vyapp/vy/archive/v4.2.0.tar.gz + sha256sums = bdb5baa3274cb3348354e0a4e734366232780cd2a3f00293fce108d3af50d733 + +pkgname = vy + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..443a466a9e93 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> + +pkgname=vy +pkgver=4.2.0 +pkgrel=1 +pkgdesc='A vim-like text editor in python, made from scratch' +arch=('any') +url="https://github.com/vyapp/vy" +license=('MIT') +depends=('python-vulture' + 'python-pyflakes' + 'python-jedi' + 'python-pygments' + 'python-future' + 'python-rope' + 'mypy' + 'python-untwisted') +makedepends=('python-setuptools' 'gendesk') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vyapp/vy/archive/v${pkgver}.tar.gz") +sha256sums=('bdb5baa3274cb3348354e0a4e734366232780cd2a3f00293fce108d3af50d733') + +package() { + cd "vy-${pkgver}" + python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 vy.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + gendesk -f -n --pkgname "${pkgname}" \ + --pkgdesc "$pkgdesc" \ + --name "vy" \ + --comment "$pkgdesc" \ + --exec "${pkgname}" \ + --categories 'TextEditor;Development;' \ + --icon "${pkgname}" + install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" +}
\ No newline at end of file |