app-editors/zed: keyword
This commit is contained in:
parent
09f1bef4c3
commit
a60a01ce37
1 changed files with 13 additions and 12 deletions
|
@ -6,6 +6,7 @@ EAPI=8
|
||||||
|
|
||||||
inherit desktop xdg unpacker
|
inherit desktop xdg unpacker
|
||||||
|
|
||||||
|
KEYWORDS="amd64 arm64"
|
||||||
DESCRIPTION="The fast, collaborative code editor"
|
DESCRIPTION="The fast, collaborative code editor"
|
||||||
HOMEPAGE="https://zed.dev https://github.com/zed-industries/zed"
|
HOMEPAGE="https://zed.dev https://github.com/zed-industries/zed"
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
|
@ -49,24 +50,24 @@ RDEPEND="${DEPEND}"
|
||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
xdg_environment_reset
|
xdg_environment_reset
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
S="${S}/zed.app"
|
S="${S}/zed.app"
|
||||||
|
|
||||||
newbin "${S}/bin/zed" zed
|
newbin "${S}/bin/zed" zed
|
||||||
exeinto "/usr/libexec"
|
exeinto "/usr/libexec"
|
||||||
newexe "${S}/libexec/zed-editor" zed-editor
|
newexe "${S}/libexec/zed-editor" zed-editor
|
||||||
|
|
||||||
doicon -s 512 "${S}/share/icons/hicolor/512x512/apps/zed.png"
|
doicon -s 512 "${S}/share/icons/hicolor/512x512/apps/zed.png"
|
||||||
doicon -s 1024 "${S}/share/icons/hicolor/1024x1024/apps/zed.png"
|
doicon -s 1024 "${S}/share/icons/hicolor/1024x1024/apps/zed.png"
|
||||||
domenu "${S}/share/applications/zed.desktop"
|
domenu "${S}/share/applications/zed.desktop"
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm() {
|
pkg_postrm() {
|
||||||
xdg_icon_cache_update
|
xdg_icon_cache_update
|
||||||
xdg_desktop_database_update
|
xdg_desktop_database_update
|
||||||
xdg_mimeinfo_database_update
|
xdg_mimeinfo_database_update
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue