app-editors/neovim-gtk: fix build of 0.1.1

This commit is contained in:
Julian Ospald 2018-06-16 13:51:22 +02:00
parent e0958880e1
commit 768adc4562
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
3 changed files with 25 additions and 16 deletions

View File

@ -15,3 +15,12 @@ DEPENDENCIES="
x11-libs/pango
"
src_install() {
ecargo_install
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/128x128/apps
doins desktop/nvim-gtk.png
}

View File

@ -20,3 +20,19 @@ DEPENDENCIES="
src_unpack() {
cargo_src_unpack
}
src_install() {
ecargo_install
insinto /usr/share/nvim-gtk
doins -r runtime
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/48x48/apps
doins desktop/org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/scalable/apps
doins desktop/org.daa.NeovimGtk.svg
}

View File

@ -18,22 +18,6 @@ src_prepare() {
export PREFIX=/usr
}
src_install() {
ecargo_install
insinto /usr/share/nvim-gtk
doins -r runtime
insinto /usr/share/applications
doins desktop/*.desktop
insinto /usr/share/icons/hicolor/48x48/apps
doins desktop/org.daa.NeovimGtk.png
insinto /usr/share/icons/hicolor/scalable/apps
doins desktop/org.daa.NeovimGtk.svg
}
pkg_postinst() {
freedesktop-desktop_update_desktop_database
gtk-icon-cache_pkg_postinst