diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-09 05:13:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-09 05:13:51 +0000 |
commit | f6f5cf314dddfbfe0f8c848dc9e07436b032562c (patch) | |
tree | 4c18deb1fed0d1d81a1ac43f6f1c5de43a4533eb /app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild | |
parent | 1a74c5436dbcb832445250e8f3ed0a00f6c2fcef (diff) |
gentoo auto-resync : 09:12:2023 - 05:13:51
Diffstat (limited to 'app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild')
-rw-r--r-- | app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild new file mode 100644 index 000000000000..fb0bea383361 --- /dev/null +++ b/app-editors/logseq-desktop-bin/logseq-desktop-bin-0.10.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker + +DESCRIPTION="A privacy-first, open-source platform for knowledge sharing and management." +HOMEPAGE="https://github.com/logseq/logseq" +SRC_URI="https://github.com/logseq/logseq/releases/download/${PV}/logseq-linux-x64-${PV}.zip -> ${P}.zip" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RESTRICT="mirror splitdebug" + +DEPEND="" +RDEPEND=">=dev-libs/openssl-3" +BDEPEND="app-arch/unzip" + +QA_PREBUILT="*" +S="${WORKDIR}/Logseq-linux-x64" + +src_install() { + domenu "${FILESDIR}/logseq-desktop.desktop" + doicon "${S}/resources/app/icons/logseq.png" + mkdir -p "${D}/opt/logseq-desktop" || die + cp -r "${S}"/* "${D}/opt/logseq-desktop/" || die + dosym ../logseq-desktop/Logseq /opt/bin/logseq +} + +pkg_postinst() { + update-desktop-database +} |