forked from hasufell/hasufell-repository
app-editors/neovim-gtk: fix build of 0.1.1
This commit is contained in:
parent
e0958880e1
commit
768adc4562
@ -15,3 +15,12 @@ DEPENDENCIES="
|
|||||||
x11-libs/pango
|
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
|
||||||
|
}
|
||||||
|
@ -20,3 +20,19 @@ DEPENDENCIES="
|
|||||||
src_unpack() {
|
src_unpack() {
|
||||||
cargo_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
|
||||||
|
}
|
||||||
|
@ -18,22 +18,6 @@ src_prepare() {
|
|||||||
export PREFIX=/usr
|
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() {
|
pkg_postinst() {
|
||||||
freedesktop-desktop_update_desktop_database
|
freedesktop-desktop_update_desktop_database
|
||||||
gtk-icon-cache_pkg_postinst
|
gtk-icon-cache_pkg_postinst
|
||||||
|
Loading…
Reference in New Issue
Block a user