1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION
="Typora will give you a seamless experience as both a reader and a writer."
7 HOMEPAGE
="https://typora.io"
8 SRC_URI
="https://www.typora.io/linux/typora_${PV}_amd64.deb"
10 #TODO : update license
20 x11-libs/libXScrnSaver
25 /opt/${PN}/share/typora/Typora
26 /opt/${PN}/share/typora/chrome-sandbox
27 /opt/${PN}/share/typora/.*\.so
28 /opt/${PN}/share/typora/.*/.*\.so
29 /opt/${PN}/share/typora/resources/app/node_modules/vscode-ripgrep/bin/rg
30 /opt/${PN}/share/typora/resources/app/node_modules/pathwatcher/build/Release/pathwatcher.node
31 /opt/${PN}/share/typora/resources/app/node_modules/spellchecker/build/Release/spellchecker.node
32 /opt/${PN}/share/typora/resources/app/node_modules/spellchecker/node_modules/cld/build/Release/cld.node
37 unpack
"${WORKDIR}"/data.
tar.xz
42 local dir
="/opt/${PN}"
46 sed -i '/Change Log/d' share
/applications
/typora.desktop
49 fperms
0755 "${dir}/bin/typora"
50 fperms
4755 "${dir}/share/typora/chrome-sandbox"
51 dosym
"../../opt/typora/bin/typora" "usr/bin/typora"
53 domenu
share
/applications
/typora.desktop
57 update-desktop-database