33 lines
555 B
Bash
33 lines
555 B
Bash
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
require neovim-gtk
|
|
|
|
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
|
|
}
|