hasufell-repository/packages/app-editors/neovim-gtk/neovim-gtk.exlib

22 lines
689 B
Bash

# Copyright 2018 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require desktop-utils freedesktop-desktop
require cargo [ channel=stable ]
require github [ user=daa84 tag="v${PV}" ]
SUMMARY="Gtk ui for neovim"
HOMEPAGE="https://github.com/daa84/neovim-gtk ${HOMEPAGE}"
LICENCES="GPL-3.0"
MYOPTIONS=""
BUGS_TO="hasufell@posteo.de"
src_install() {
ecargo_install
install_desktop_entry Exec="nvim-gtk" \
MimeType="text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;"
}