First commit: replace cartaodecidadao-bin to upstream new naming

This commit is contained in:
Bruno Miguel Fernandes Silva 2020-04-09 15:41:59 +01:00
commit a5c3b61ed1
No known key found for this signature in database
GPG key ID: 830E4E587749CD1B
2 changed files with 84 additions and 0 deletions

34
.SRCINFO Normal file
View file

@ -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

50
PKGBUILD Normal file
View file

@ -0,0 +1,50 @@
# Maintainer: Bruno Silva <brunofernandes at ua dot pt>
# Co-Maintainer: Ricardo Gonçalves <ricardompgoncalves@gmail.com>
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"
}