Add zettlr to the local repo
Zettlr-1.7.4 added.
This commit is contained in:
2
app-editors/zettlr/Manifest
Normal file
2
app-editors/zettlr/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST Zettlr-1.7.4-amd64.deb 68868444 BLAKE2B f4fdb617b830da82ef5cc20f319638c8a7d528ae05ccdb2eb257c6da54e3feb13445f78e25c93be3349691f85c477885ebdc5206a914631fcca2b55dd9f6276f SHA512 43db4a33b9a040e30b49f85d2f39fb4162c129259a47cbadef696e16e635cce913ec4e7ab964f2b66741dbe4b888579becbefa40e9a5a0bf13018604d4b1d000
|
||||
EBUILD zettlr-1.7.4.ebuild 1137 BLAKE2B 9d761b80d2d243179912adeb6f3f50c4cada78a65e8cac5cedb2f2a2cbc1772ff1a74026faca81e60354cec984f0f367b43689bf8180cf3a13ab5d9c2d3155de SHA512 748cbb670b9f19aedbd18af5650f3944b4c3b82a71de6b47913ab7fe803304f051576d6d73e9f05b6586b38c3d3bdd2ba5aaa0c11f13d4f48da4e3696669095c
|
56
app-editors/zettlr/zettlr-1.7.4.ebuild
Normal file
56
app-editors/zettlr/zettlr-1.7.4.ebuild
Normal file
@ -0,0 +1,56 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Zettlr"
|
||||
HOMEPAGE="https://www.zettlr.com"
|
||||
SRC_URI="https://github.com/Zettlr/Zettlr/releases/download/v${PV}/Zettlr-${PV}-amd64.deb"
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
QA_PREBUILT="opt/Zettlr/libGLESv2.so
|
||||
opt/Zettlr/libEGL.so
|
||||
opt/Zettlr/libvk_swiftshader.so
|
||||
opt/Zettlr/zettlr
|
||||
opt/Zettlr/libffmpeg.so
|
||||
opt/Zettlr/swiftshader/libGLESv2.so
|
||||
opt/Zettlr/swiftshader/libEGL.so"
|
||||
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
unpack ../work/data.tar.xz
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /
|
||||
doins -r opt
|
||||
insinto /usr/share
|
||||
doins -r usr/share/applications
|
||||
doins -r usr/share/icons
|
||||
fperms +x /opt/Zettlr/chrome-sandbox /opt/Zettlr/zettlr
|
||||
fperms u+s /opt/Zettlr/chrome-sandbox
|
||||
pax-mark m opt/Zettlr/zettlr opt/Zettlr/chrome-sandbox
|
||||
|
||||
dosym ../../opt/Zettlr/zettlr /usr/bin/zettlr
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
Reference in New Issue
Block a user