commit a5c3b61ed19cc143a17bc73e3d6e3ad30d7a3209 Author: Bruno Miguel Fernandes Silva Date: Thu Apr 9 15:41:59 2020 +0100 First commit: replace cartaodecidadao-bin to upstream new naming diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..c1160512230 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,34 @@ +pkgbase = autenticacao-gov-pt-bin + pkgdesc = Portuguese Citizen Card Application - pre compiled binaries version + pkgver = 3.1.0 + pkgrel = 1 + url = http://www.cartaodecidadao.pt/ + arch = x86_64 + license = GPL2 + license = LGPL3 + license = custom:EUPL + depends = qt5-base + depends = qt5-tools + depends = qt5-quickcontrols + depends = qt5-quickcontrols2 + depends = qt5-graphicaleffects + depends = pcsclite>=1.5.0 + depends = openssl-1.0 + depends = ccid + depends = libzip + depends = poppler-qt5 + depends = libxerces-c-3.1 + depends = libcurl-compat + depends = xml-security-c + optdepends = plugin-autenticacao-gov-pt: Necessário para autenticações online + optdepends = cartaodecidadao-pki: PKI que confirma a validade dos certificados dos CC + optdepends = ecce-gov-pt-certificates: Certificados da ECCE - quem assina dos certificados contidos em cartaodecidadao-pki + conflicts = cartaodecidadao + conflicts = cartaodecidadao-bin + conflicts = autenticacao-gov-pt + replaces = cartaodecidadao-bin + source_x86_64 = https://www.autenticacao.gov.pt/documents/10179/11962/Autenticacao.gov_Ubuntu_19_x64.deb + sha512sums_x86_64 = 9a0ad74594e1340af3667c279ed7acfdcd6bd33736d3c0f2d687dd5f1d6b09520031f2ad9ef493ab8239bc20b15211a4d5ade800c1dbf647d4a782a9eb3fdd4e + +pkgname = autenticacao-gov-pt-bin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..4c3af8069f6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: Bruno Silva +# Co-Maintainer: Ricardo Gonçalves + +pkgname=autenticacao-gov-pt-bin +pkgver=3.1.0 +pkgrel=1 +pkgdesc="Portuguese Citizen Card Application - pre compiled binaries version" +arch=('x86_64') +url="http://www.cartaodecidadao.pt/" +license=('GPL2' 'LGPL3' 'custom:EUPL') +depends=('qt5-base' + 'qt5-tools' + 'qt5-quickcontrols' + 'qt5-quickcontrols2' + 'qt5-graphicaleffects' + 'pcsclite>=1.5.0' + 'openssl-1.0' + 'ccid' + 'libzip' + 'poppler-qt5' + 'libxerces-c-3.1' + 'libcurl-compat' + 'xml-security-c') +optdepends=('plugin-autenticacao-gov-pt: Necessário para autenticações online' + 'cartaodecidadao-pki: PKI que confirma a validade dos certificados dos CC' + 'ecce-gov-pt-certificates: Certificados da ECCE - quem assina dos certificados contidos em cartaodecidadao-pki') +conflicts=('cartaodecidadao' 'cartaodecidadao-bin' 'autenticacao-gov-pt') +replaces=('cartaodecidadao-bin') + +source_x86_64=("https://www.autenticacao.gov.pt/documents/10179/11962/Autenticacao.gov_Ubuntu_19_x64.deb") + +sha512sums_x86_64=('9a0ad74594e1340af3667c279ed7acfdcd6bd33736d3c0f2d687dd5f1d6b09520031f2ad9ef493ab8239bc20b15211a4d5ade800c1dbf647d4a782a9eb3fdd4e') + +prepare() { + tar -xf data.tar.xz +} + +package() { + mkdir -p "${pkgdir}/usr/local/" + mkdir -p "${pkgdir}/usr/share/" + mkdir -p "${pkgdir}/usr/lib" + + # Move files into place + mv "${srcdir}"/usr/local/{share,bin} "${pkgdir}/usr/local/" + mv "${srcdir}"/usr/local/* "${pkgdir}/usr/" + mv "${srcdir}"/usr/share/* "${pkgdir}/usr/share/" + + # Fix symlinks + ln -s libcurl.so.3 "${pkgdir}/usr/lib/libcurl-nss.so.4" +}