diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = neovide pkgdesc = No Nonsense Neovim Client in Rust pkgver = 0.6.0 - pkgrel = 4 + pkgrel = 3 url = https://github.com/Kethku/neovide arch = x86_64 license = MIT @@ -18,7 +18,9 @@ pkgbase = neovide provides = neovide conflicts = neovide-git source = neovide-0.6.0.tar.gz::https://github.com/Kethku/neovide/archive/0.6.0.tar.gz + source = 0001-Remove-unnecessary-braces-around-if-condition.patch::https://github.com/Kethku/neovide/commit/c4890065a33ac265184400ab83743702efbaf291.patch sha256sums = 4daaad6ff527c299b9fa3db677bc1320b9596efbc27853ed730a57df6c1568fd + sha256sums = cfd5f5fa8015b377153d60515f2d797b9241d8df60633cfd85c9a24204541d9b pkgname = neovide @@ -1,9 +1,8 @@ # Maintainer: peeweep <peeweep at 0x0 dot ee> -# Co-Maintainer: Antonio Yang <yanganto@gmail.com> pkgname=neovide pkgver=0.6.0 -pkgrel=4 +pkgrel=3 pkgdesc='No Nonsense Neovim Client in Rust' arch=('x86_64') url='https://github.com/Kethku/neovide' @@ -12,11 +11,14 @@ depends=('neovim' 'fontconfig' 'freetype2' 'libglvnd' 'sndio') makedepends=('rust' 'gtk3' 'cmake' 'sdl2' 'make') provides=("neovide") conflicts=("neovide-git") -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('4daaad6ff527c299b9fa3db677bc1320b9596efbc27853ed730a57df6c1568fd') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" + "0001-Remove-unnecessary-braces-around-if-condition.patch::https://github.com/Kethku/neovide/commit/c4890065a33ac265184400ab83743702efbaf291.patch") +sha256sums=('4daaad6ff527c299b9fa3db677bc1320b9596efbc27853ed730a57df6c1568fd' + 'cfd5f5fa8015b377153d60515f2d797b9241d8df60633cfd85c9a24204541d9b') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -c -p1 < "${srcdir}/0001-Remove-unnecessary-braces-around-if-condition.patch" sed -i 's/debug = true/opt-level = 3\ndebug = false/' Cargo.toml sed -i 's/Icon=neovide/Icon=nvim/' assets/neovide.desktop } |