app-i18n/fcitx5-lua: new package
[gentoo-zh.git] / app-editors / typora / typora-1.1.5.ebuild
blob1b7fa79193b00b9ff6a9d0198f23a200a1adc7e2
1 # Copyright 1999-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit desktop
8 DESCRIPTION="A truely minimal markdown editor."
9 HOMEPAGE="https://typora.io"
10 SRC_URI="https://www.typora.io/linux/typora_${PV}_amd64.deb"
12 LICENSE="typora"
13 SLOT="0"
14 KEYWORDS="~amd64"
15 IUSE=""
17 RESTRICT="mirror"
19 DEPEND=""
20 RDEPEND="
21 x11-libs/libXScrnSaver
22 ${DEPEND}"
23 BDEPEND=""
25 QA_PREBUILT="*"
27 src_unpack() {
28 default
29 unpack "${WORKDIR}"/data.tar.xz
30 S="${WORKDIR}"
33 src_install() {
34 mv "${S}/usr" "${D}"
36 pushd "${D}/usr/share/doc" > /dev/null || die
37 mv ${PN} ${P}
38 popd > /dev/null || die
41 pkg_postinst() {
42 update-desktop-database