hasufell-repository/packages/app-editors/neovim-gtk/neovim-gtk-scm.exheres-0

42 lines
1.0 KiB
Bash
Raw Permalink Normal View History

2018-06-13 22:32:00 +00:00
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
2020-01-08 21:01:14 +00:00
require neovim-gtk gtk-icon-cache
2018-06-13 22:32:00 +00:00
DOWNLOADS=""
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
app-editors/neovim
dev-libs/glib:2
x11-libs/cairo
x11-libs/gtk+:3[>=3.22.0]
x11-libs/pango[>=1.38]
"
src_unpack() {
cargo_src_unpack
}
src_install() {
ecargo_install
insinto /usr/share/nvim-gtk
doins -r runtime
insinto /usr/share/applications
doins desktop/*.desktop
2020-01-08 21:01:14 +00:00
insinto /usr/share/icons/hicolor/128x128/apps
newins desktop/org.daa.NeovimGtk_128.png org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/48x48/apps
newins desktop/org.daa.NeovimGtk_48.png org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/scalable/apps
newins desktop/org.daa.NeovimGtk.svg org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/symbolic/apps
newins desktop/org.daa.NeovimGtk-symbolic.svg org.daa.NeovimGtk.png
}