diff options
author | Fedor Piecka | 2017-07-07 22:24:50 +0200 |
---|---|---|
committer | Fedor Piecka | 2017-07-07 22:24:50 +0200 |
commit | 8d8653fe2bdceec9e632f0a50d2556f9c38650a2 (patch) | |
tree | 456b81a986b30953f375f796406f073208c1a730 | |
download | aur-8d8653fe2bdceec9e632f0a50d2556f9c38650a2.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..43a015696a93 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = eidklient + pkgdesc = Slovak eID Client + pkgver = 1.9.4 + pkgrel = 1 + url = https://www.slovensko.sk/ + arch = i686 + arch = x86_64 + license = custom + depends = glibc + depends = qt4 + depends = pcsclite + depends = qt5-imageformats + depends = ccid + depends = openssl + depends = chrpath + options = !strip + source_i686 = https://eidas.minv.sk/TCTokenService/download/linux/debian/eidklient_i386_debian.tar.gz + md5sums_i686 = SKIP + source_x86_64 = https://eidas.minv.sk/TCTokenService/download/linux/debian/eidklient_amd64_debian.tar.gz + md5sums_x86_64 = SKIP + +pkgname = eidklient + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9eaf022758b6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Fedor Piecka <teplavoda@gmail.com> + +pkgname=eidklient +pkgver=1.9.4 +pkgrel=1 +pkgdesc="Slovak eID Client" +arch=('i686' 'x86_64') +url="https://www.slovensko.sk/" +license=('custom') +depends=("glibc" "qt4" "pcsclite" "qt5-imageformats" "ccid" "openssl" "chrpath" ) +source_i686=('https://eidas.minv.sk/TCTokenService/download/linux/debian/eidklient_i386_debian.tar.gz') +source_x86_64=('https://eidas.minv.sk/TCTokenService/download/linux/debian/eidklient_amd64_debian.tar.gz') +md5sums_i686=('SKIP') +md5sums_x86_64=('SKIP') +options=("!strip") + +pkgver() { + ar p ${srcdir}/eID_klient/eidklient_amd64_debian.deb control.tar.gz | tar -Oxz ./control | grep ^Version: | cut -f2 -d" " +} + +package() { + ar p ${srcdir}/eID_klient/eidklient_amd64_debian.deb data.tar.gz | tar -xz -C "${pkgdir}" + + ln -sf /usr/lib/qt/plugins/imageformats/libqtga.so ${pkgdir}/usr/lib/eidklient/ + ln -sf /usr/lib/qt4/plugins/imageformats/libqgif.so ${pkgdir}/usr/lib/eidklient/ + ln -sf /usr/lib/qt4/plugins/imageformats/libqico.so ${pkgdir}/usr/lib/eidklient/ + ln -sf /usr/lib/qt4/plugins/imageformats/libqjpeg.so ${pkgdir}/usr/lib/eidklient/ + ln -sf /usr/lib/qt4/plugins/imageformats/libqmng.so ${pkgdir}/usr/lib/eidklient/ + ln -sf /usr/lib/qt4/plugins/imageformats/libqsvg.so ${pkgdir}/usr/lib/eidklient/ + ln -sf /usr/lib/qt4/plugins/imageformats/libqtiff.so ${pkgdir}/usr/lib/eidklient/ +} |