You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
858 B
52 lines
858 B
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit desktop unpacker pax-utils xdg
|
|
|
|
DESCRIPTION="R7-Grafika desktop app"
|
|
HOMEPAGE="https://r7-office.ru/grafika"
|
|
LICENSE="Apache-2.0"
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
RESTRICT="bindist strip mirror"
|
|
|
|
SRC_URI="
|
|
amd64? ( https://download.r7-office.ru/r7graph/${PN}-amd64-${PV}.deb )
|
|
"
|
|
|
|
RDEPEND="
|
|
x11-libs/gtk+:3
|
|
x11-libs/libnotify
|
|
dev-libs/nss
|
|
x11-libs/libXScrnSaver
|
|
x11-libs/libXtst
|
|
x11-misc/xdg-utils
|
|
app-accessibility/at-spi2-core
|
|
sys-apps/util-linux
|
|
app-crypt/libsecret
|
|
dev-libs/libappindicator
|
|
"
|
|
|
|
S=${WORKDIR}
|
|
R7="opt/${PN}"
|
|
|
|
src_unpack() {
|
|
unpack_deb ${A}
|
|
}
|
|
|
|
src_install() {
|
|
mv * "${D}" || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_mimeinfo_database_update
|
|
xdg_desktop_database_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_desktop_database_update
|
|
}
|