Diff clamav-unofficial-sigs-5.6.2 with a clamav-unofficial-sigs-6.0.1-r2

/usr/portage/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-6.0.1-r2.ebuild 2019-11-07 19:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
inherit user
6
inherit user systemd
7 7

  
8 8
DESCRIPTION="Download and install third-party clamav signatures"
9
HOMEPAGE="https://github.com/extremeshok/${PN}"
9
HOMEPAGE="https://github.com/extremeshok/clamav-unofficial-sigs"
10 10
SRC_URI="https://github.com/extremeshok/clamav-unofficial-sigs/archive/${PV}.tar.gz -> ${P}.tar.gz"
11 11

  
12 12
LICENSE="BSD"
13 13
SLOT="0"
14
KEYWORDS="amd64 x86"
15
IUSE=""
14
KEYWORDS="~amd64 ~x86"
15
IUSE="cron"
16 16

  
17 17
# The script relies on either net-misc/socat, or Perl's
18 18
# IO::Socket::UNIX. We already depend on Perl, and Gentoo's Perl ships
......
41 41

  
42 42
	doman "${FILESDIR}/${PN}.8"
43 43
	dodoc README.md
44

  
45
	if use cron; then
46
		# Beware, this directory is not completely standard. However,
47
		# we need this to run as "clamav" with a non-default shell and
48
		# home directory (bug 694054), and this seems like the most
49
		# reliable way to accomplish that.
50
		insinto "/etc/cron.d"
51
		newins "${FILESDIR}/${PN}.crond" "${PN}"
52
	else
53
		dodoc "${FILESDIR}/${PN}.crond"
54
	fi
55

  
56
	# Install the systemd service and timer unconditionally, because
57
	# the timer is disabled by default (and won't annoy people until
58
	# after they've configured the script).
59
	systemd_dounit "${FILESDIR}/${PN}".{service,timer}
44 60
}
45 61

  
46 62
pkg_preinst() {
Thank you!