mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
app-editors/typora-bin: use proper releases
Closes: https://bugs.gentoo.org/786918 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST typora-9999-linux-x64.tar.gz 90347518 BLAKE2B 09ad07338afd4f91769f317edfda60b006a7b20b328ea7e74dfe742e7d20d81333e951532ce869961509cca7000f34295a328cc919b7450dd3bd0a7ead49afd7 SHA512 0ab3a1c0bdd32fe1b7311e1d02f6962a477c7209710c95fd66d1490a3cba3b823263baa42305250ad8ef113394b8a5faec3f9a2557ecd3402dc5aa5134c3c602
|
||||
DIST typora_0.10.7_amd64.deb 67149180 BLAKE2B b1ede052143ae96136941768e586dcd60df64504c182e01e837bf16c343523ad87553401b725e472698e7ad0aaedb326366c01b470778ca279af214508fc1320 SHA512 ccfe965514b71b31e1c8f986e1ea46976c6a0f87edc65f04e936897bc417880f0b915e4539eb50114125206a75235762a01d02ca16a9f6063da1adc812127226
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop xdg
|
||||
inherit unpacker xdg
|
||||
|
||||
DESCRIPTION="a markdown editor,markdown reader."
|
||||
HOMEPAGE="https://typora.io"
|
||||
SRC_URI="https://typora.io/linux/Typora-linux-x64.tar.gz -> typora-${PV}-linux-x64.tar.gz"
|
||||
SRC_URI="https://typora.io/linux/typora_${PV}_amd64.deb"
|
||||
|
||||
LICENSE="Typora-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
@@ -39,20 +39,9 @@ RDEPEND="
|
||||
BDEPEND=""
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_unpack() {
|
||||
if [ ${A} != "" ]; then
|
||||
unpack ${A}
|
||||
fi
|
||||
S="${WORKDIR}/bin/Typora-linux-x64/"
|
||||
}
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /opt/
|
||||
doins -r "${S}"
|
||||
newicon "$S/resources/app/asserts/icon/icon_512x512@2x.png" "${PN}.png"
|
||||
dosym ../../opt/Typora-linux-x64/Typora /usr/bin/Typora
|
||||
fperms 0755 /opt/Typora-linux-x64/Typora
|
||||
fperms 4755 /opt/Typora-linux-x64/chrome-sandbox
|
||||
domenu "${FILESDIR}/Typora.desktop"
|
||||
mv "${S}"/* "${ED}" || die
|
||||
mv "${ED}/usr/share/doc/${PN//-bin}" "${ED}/usr/share/doc/${PF}" || die
|
||||
}
|
||||
Reference in New Issue
Block a user