summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/plugin-autenticacao-gov/Manifest1
-rw-r--r--app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.63.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/plugin-autenticacao-gov/Manifest b/app-misc/plugin-autenticacao-gov/Manifest
new file mode 100644
index 0000000..854e6b0
--- /dev/null
+++ b/app-misc/plugin-autenticacao-gov/Manifest
@@ -0,0 +1 @@
+DIST plugin-autenticacao-gov.deb 1089856 SHA256 7cbc4697275cf769ee55cb5a090d5b628df78a32c9c8874841c60de471d3df2b SHA512 e36124b870bd1308454b65ac205067a24415c4295b8e2899a37f59556115026e14ac456956c914384e31be10db5cc8814c661bbc15b9bb99bc390397f1411d94 WHIRLPOOL 6f0ca2971574dfc321bc4435a134872ab6d2fd3c06d52eff3da1d482151f1ee2caf00800a83cf1ebd9f188dbe6cfa493abd7681613834d9b7085aa84a5fe06fc
diff --git a/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.63.ebuild b/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.63.ebuild
new file mode 100644
index 0000000..222e148
--- /dev/null
+++ b/app-misc/plugin-autenticacao-gov/plugin-autenticacao-gov-2.0.63.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
+}