summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevku2015-06-16 21:06:43 +0300
committerkevku2015-06-16 21:06:43 +0300
commita9bdeba2e75a55d0ae87cf36ce9f8317779c0ab2 (patch)
tree160750944a3ac17927e19e577dc9a95ae7081aef
downloadaur-a9bdeba2e75a55d0ae87cf36ce9f8317779c0ab2.tar.gz
Initial import
-rw-r--r--.SRCINFO28
-rw-r--r--PKGBUILD26
-rw-r--r--qdigidoc.install17
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..38346b0a0cd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,28 @@
+pkgbase = qdigidoc
+ pkgdesc = Qt based UI application for verifying and signing digital signatures
+ pkgver = 3.10.0.1401
+ pkgrel = 1
+ url = http://www.id.ee/
+ install = qdigidoc.install
+ arch = x86_64
+ arch = i686
+ license = LGPL
+ makedepends = cmake
+ makedepends = opensc
+ makedepends = qt5-tools
+ makedepends = qt5-translations
+ depends = libdigidocpp
+ depends = qt5-base
+ depends = libldap
+ depends = shared-mime-info
+ depends = esteidcerts
+ depends = ccid
+ depends = hicolor-icon-theme
+ depends = desktop-file-utils
+ conflicts = qdigidoc-svn
+ conflicts = sk-qdigidoc-svn
+ source = https://installer.id.ee/media/ubuntu/pool/main/q/qdigidoc/qdigidoc_3.10.0.1401.orig.tar.gz
+ sha256sums = e11cfd491de715472435887e0bdcda2ab82d45d1ce14718a28a8420875ce601c
+
+pkgname = qdigidoc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a6d54461c2a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: kevku <kevku@gmx.com>
+pkgname=qdigidoc
+pkgver=3.10.0.1401
+pkgrel=1
+pkgdesc="Qt based UI application for verifying and signing digital signatures"
+arch=('x86_64' 'i686')
+url="http://www.id.ee/"
+license=('LGPL')
+depends=('libdigidocpp' 'qt5-base' 'libldap' 'shared-mime-info' 'esteidcerts' 'ccid' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('cmake' 'opensc' 'qt5-tools' 'qt5-translations')
+conflicts=('qdigidoc-svn' 'sk-qdigidoc-svn')
+install=qdigidoc.install
+source=("https://installer.id.ee/media/ubuntu/pool/main/q/$pkgname/${pkgname}_$pkgver.orig.tar.gz")
+sha256sums=('e11cfd491de715472435887e0bdcda2ab82d45d1ce14718a28a8420875ce601c')
+validpgpkeys=('43650273CE9516880D7EB581B339B36D592073D4')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_SYSCONFDIR="/etc"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/qdigidoc.install b/qdigidoc.install
new file mode 100644
index 00000000000..d7b5110af55
--- /dev/null
+++ b/qdigidoc.install
@@ -0,0 +1,17 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+ update-mime-database /usr/share/mime &>/dev/null
+ #echo " => Install access licence manually from https://www.sk.ee/getaccess/"
+}
+
+post_upgrade() {
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+ update-mime-database /usr/share/mime &>/dev/null
+}
+
+post_remove() {
+ post_upgrade
+}
+