blob: ec64c6753770e05d96d2cefebc09c0b39ccb2a0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils unpacker xdg
MY_PN=plugin-autenticacao-gov
DESCRIPTION="Autenticacao do Cartao de Cidadao em java"
HOMEPAGE="https://www.cartaodecidadao.pt"
LICENSE="Licence-Cartao-Cidadao-App"
SRC_URI="https://autenticacao.gov.pt/fa/ajuda/software/plugin-autenticacao-gov.deb"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
app-crypt/ccid
sys-apps/pcsc-lite
sys-apps/pcsc-tools
virtual/jre
"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
DESTDIR="${D}"
src_unpack() {
unpack_deb ${A}
}
src_install() {
# install menu
domenu "${FILESDIR}/${PN}.desktop"
# install icons
local i
for i in 16 22 24 32 48 64 128 256; do
newicon -s "${i}x${i}" usr/share/${MY_PN}/plugin_autenticacao_gov_${i}.png ${PN}.png
done
# install jar file
insinto /usr/share/cartao-cidadao-auth
newins usr/share/${MY_PN}/${MY_PN}.jar ${PN}.jar
}
|