app-editors/zed: keyword
Some checks failed
Docker / updater-base-image (push) Waiting to run
Test / elint (push) Failing after 18s

This commit is contained in:
Jared Allard 2025-03-04 20:05:53 -08:00
parent 09f1bef4c3
commit a60a01ce37
Signed by: jaredallard
SSH key fingerprint: SHA256:wyRyyv28jBYw8Yp/oABNPUYvbGd6hyZj23XVXEm5G/U

View file

@ -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
} }