Проект

Общее

Профиль

Файлы » kesl-gui-11.2.0.4528.ebuild

Тимофей Захарчук, 28 октября 2021 08:05 ВЕЧЕРА

 
1
# Copyright 2020-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3

    
4
EAPI=7
5

    
6
inherit desktop gnome2-utils unpacker xdg
7

    
8
DESCRIPTION="Kaspersky Endpoint Security для Linux Дистрибутив"
9
HOMEPAGE="https://kaspersky.ru/"
10
SRC_URI="
11
	amd64? (
12
		ftp://ftp.linuxbuh.ru/linuxbuh/app-antivirus/kesl-gui_11.2.0-4528_amd64.deb -> "${P}"_amd64.deb
13
	)
14
"
15

    
16
LICENSE=""
17
SLOT="0"
18
KEYWORDS="~amd64"
19
RESTRICT="mirror strip"
20

    
21

    
22
RDEPEND="
23
"
24

    
25
S="${WORKDIR}"
26

    
27
src_install() {
28
	mkdir -p "${D}/opt/kaspersky"
29
	cp -R "${WORKDIR}/etc" "${D}" || die "install failed!"
30
	cp -R "${WORKDIR}/usr" "${D}" || die "install failed!"
31
	cp -R "${WORKDIR}/var/opt/kaspersky/kesl/install/opt/kaspersky/kesl" "${D}/opt/kaspersky" || die "install failed!"
32
}
33

    
34
#pkg_postinst() {
35
#    mkdir -p /var/log/kaspersky/kesl
36
#    mkdir -p /var/log/kaspersky/kesl-user
37
#    chmod 0777 /var/log/kaspersky/kesl-user
38
#    touch /var/log/kaspersky/kesl/kesl_launcher.log
39
#    elog "1. Внимание!!! Запустите /opt/kaspersky/kesl/bin/kesl-setup.pl"
40
#
41
#}
(2-2/2)