diff options
author | Joao Santos <joaompssantos@gmail.com> | 2023-04-29 23:15:15 +0200 |
---|---|---|
committer | Joao Santos <joaompssantos@gmail.com> | 2023-04-29 23:15:15 +0200 |
commit | 9400c24c37f6cccde03448708c3e0c0b49267e5d (patch) | |
tree | d50b4f80b094bfddc1ff4630906150892e21fb4f /app-misc | |
parent | dev-libs/xml-security-c: bump 2.0.4 (diff) | |
download | carreira-9400c24c37f6cccde03448708c3e0c0b49267e5d.tar.gz carreira-9400c24c37f6cccde03448708c3e0c0b49267e5d.tar.bz2 carreira-9400c24c37f6cccde03448708c3e0c0b49267e5d.zip |
*/*: Fix issues with overlay
Signed-off-by: Joao Santos <joaompssantos@gmail.com>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.70.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.70.ebuild b/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.70.ebuild new file mode 100644 index 0000000..222e148 --- /dev/null +++ b/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.70.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils unpacker xdg + +DESCRIPTION="Autenticacao do Cartao de Cidadao em java" +HOMEPAGE="https://www.cartaodecidadao.pt" +LICENSE="EUPL-1.2" + +SRC_URI="https://aplicacoes.autenticacao.gov.pt/plugin/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/${PN}/plugin_autenticacao_gov_${i}.png ${PN}.png + done + + # install jar file + insinto /usr/share/${PN} + newins usr/share/${PN}/${PN}.jar ${PN}.jar +} |