blob: cbcaa05806e583702c239fca40d26bd5f2e279af (
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
|
# Maintainer: Marcos Alguacil <marcos.alguacil@gmail.com>
pkgname=carfirma-bin
pkgver=2.0
pkgrel=1
pkgdesc='Cliente de firma electrónica de la Administración Pública de la Comunidad Autónoma de La Rioja'
arch=('any')
url='https://www.larioja.org/oficina-electronica/es/firma-electronica/carfirma'
license=('GPL' 'custom:EUPL')
depends=('java-runtime=8')
source=("${pkgname}-${pkgver}.deb::https://ias1.larioja.org/carFirma/descargas/exe/Instalacion_carFirma_64.deb"
"carFirma"
"carfirma.desktop"
"carFirma.js")
b2sums=('8e0a97e79d5483f759a1ae0f607593162d4aa24cb7c8d70599fc217810f8a77de2ba3979e06b712f6a3894fc0533169d73bc79b40596d835f5fe09225b987627'
'270ab583c309c26245790b732d5421e7ca972815c8b68a4ee31a3493cc7862f50c2285c5f20adab504e36947e75ff50a37cc933231b5d46c87ad5d674484f770'
'08e1ef142e248a77f95d3a4a34bf275b53003c49a3fd08c65a3cc8f76ae7a3da5583e64951255697fba3a4c860dd107d06119e956829c57d5ba4370680ed1b64'
'c673d01048b696ee0cdbab72a557b596580168f69b18934f7796b59143b1f30bc2f8374eb15dbf66f88a1a9a186a3d5733da88f46741f95206026538f6775880')
prepare() {
# Extract debian package
bsdtar -O -xf "${pkgname}-${pkgver}"*.deb data.tar.xz | bsdtar -C "${srcdir}" -xJf -
}
package() {
install -Dm755 "carFirma" \
"${pkgdir}/usr/bin/carFirma"
install -Dm644 "carFirma.js" \
"${pkgdir}/usr/lib/firefox/defaults/pref/carFirma.js"
install -Dm644 "usr/lib/carFirma/carFirmaApp.jar" \
"${pkgdir}/usr/share/java/carFirma/carFirmaApp.jar"
install -Dm644 "usr/share/carFirma/carfirma.svg" \
"${pkgdir}/usr/share/pixmaps/carfirma.svg"
install -Dm644 "carfirma.desktop" \
"${pkgdir}/usr/share/applications/carfirma.desktop"
install -Dm644 "usr/share/common-licenses/eupl-carfirma-1.1.txt" \
"${pkgdir}/usr/share/licenses/carFirma/eupl-carfirma-1.1.txt"
install -Dm644 "usr/share/common-licenses/gpl-carfirma-2.0.txt" \
"${pkgdir}/usr/share/licenses/carFirma/gpl-carfirma-2.0.txt"
}
|