summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorWesley Moore2018-01-13 10:13:03 +1100
committerWesley Moore2018-01-13 10:13:03 +1100
commit9de0baf78f5aded6edc67889203362b757850064 (patch)
treeb0b53d3b017a8ecfe519e47f390d5c08716ffc4b
parenta7650f77ffa7473620803929b24a181f2c16486b (diff)
downloadaur-9de0baf78f5aded6edc67889203362b757850064.tar.gz
Update to include scalable icon and gui runtime
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD19
2 files changed, 17 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2bae47113a3..a6dd23074a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = neovim-gtk-git
pkgdesc = GTK UI for Neovim written in Rust
- pkgver = 331
- pkgrel = 1
+ pkgver = 427
+ pkgrel = 2
url = https://github.com/daa84/neovim-gtk
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 6fa66e978c7..c93bef75e72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Wesley Moore <wes@wezm.net>
_pkgname=neovim-gtk
pkgname=neovim-gtk-git
-pkgver=331
-pkgrel=1
+pkgver=427
+pkgrel=2
pkgdesc='GTK UI for Neovim written in Rust'
arch=('i686' 'x86_64')
url="https://github.com/daa84/neovim-gtk"
@@ -25,8 +25,19 @@ build() {
}
package() {
+ # binary
install -Dm755 "$srcdir/$_pkgname/target/release/nvim-gtk" "$pkgdir/usr/bin/nvim-gtk"
- install -D -m644 "$srcdir/$_pkgname/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ # runtime
+ install -Dm644 "$srcdir/$_pkgname/runtime/plugin/nvim_gui_shim.vim" "$pkgdir/usr/share/nvim-gtk/runtime/nvim_gui_shim.vim"
+
+ # desktop file
install -D -m644 "$srcdir/$_pkgname/desktop/org.daa.NeovimGtk.desktop" "${pkgdir}"/usr/share/applications/org.daa.NeovimGtk.desktop
- install -D -m644 "$srcdir/$_pkgname/desktop/org.daa.NeovimGtk.png" "${pkgdir}"/usr/share/pixmaps/org.daa.NeovimGtk.png
+
+ # Icons
+ install -D -m644 "$srcdir/$_pkgname/desktop/org.daa.NeovimGtk.png" "${pkgdir}"/usr/share/icons/hicolor/48x48/apps/org.daa.NeovimGtk.png
+ install -D -m644 "$srcdir/$_pkgname/desktop/org.daa.NeovimGtk.svg" "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/org.daa.NeovimGtk.svg
+
+ # LICENSE
+ install -D -m644 "$srcdir/$_pkgname/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}