summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevku2017-11-27 14:55:40 +0200
committerkevku2017-11-27 14:55:40 +0200
commit666c7672f2a2c9bbbc133c98d55aaa298d12a28e (patch)
treed9aa4199234f949376a787062d285251fb58b808
parent6c736db38f89274b505e1e0a8ec5f88b43df9d6f (diff)
downloadaur-666c7672f2a2c9bbbc133c98d55aaa298d12a28e.tar.gz
use openssl 1.1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD24
2 files changed, 18 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 855e1fb196b..f9fc5b439f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,22 @@
pkgbase = qdigidoc
pkgdesc = Qt based UI application for verifying and signing digital signatures
pkgver = 3.13.4.1515
- pkgrel = 1
+ pkgrel = 2
url = http://www.id.ee/
arch = x86_64
arch = i686
- license = LGPL
+ license = LGPL2.1
makedepends = cmake
- makedepends = opensc
makedepends = qt5-tools
makedepends = qt5-translations
depends = libdigidocpp>=3.13.2.1355
+ depends = opensc
depends = qt5-base
depends = shared-mime-info
depends = ccid
depends = hicolor-icon-theme
depends = desktop-file-utils
source = https://installer.id.ee/media/ubuntu/pool/main/q/qdigidoc/qdigidoc_3.13.4.1515.orig.tar.xz
- validpgpkeys = 43650273CE9516880D7EB581B339B36D592073D4
sha256sums = 7741e1fb176e13a012b281fab4d38dabbd3ccab762160a9e5bfd84915610ca97
pkgname = qdigidoc
diff --git a/PKGBUILD b/PKGBUILD
index cae80ee72ea..ed3cd757818 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,31 @@
# Maintainer: kevku <kevku@gmx.com>
pkgname=qdigidoc
pkgver=3.13.4.1515
-pkgrel=1
+pkgrel=2
pkgdesc="Qt based UI application for verifying and signing digital signatures"
arch=('x86_64' 'i686')
url="http://www.id.ee/"
-license=('LGPL')
-depends=('libdigidocpp>=3.13.2.1355' 'qt5-base' 'shared-mime-info' 'ccid' 'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('cmake' 'opensc' 'qt5-tools' 'qt5-translations')
+license=('LGPL2.1')
+depends=('libdigidocpp>=3.13.2.1355' 'opensc' 'qt5-base' 'shared-mime-info' 'ccid' 'hicolor-icon-theme' 'desktop-file-utils')
+makedepends=('cmake' 'qt5-tools' 'qt5-translations')
source=("https://installer.id.ee/media/ubuntu/pool/main/q/$pkgname/${pkgname}_$pkgver.orig.tar.xz")
sha256sums=('7741e1fb176e13a012b281fab4d38dabbd3ccab762160a9e5bfd84915610ca97')
-validpgpkeys=('43650273CE9516880D7EB581B339B36D592073D4')
+
+prepare() {
+ [[ -d "$pkgname-build" ]] && rm -r "$pkgname-build"
+ mkdir "$pkgname-build"
+}
build() {
- cd "$srcdir/"
- export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
- cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_SYSCONFDIR="/etc" -DBREAKPAD=""
+ cd "$pkgname-build"
+ cmake .. -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR="lib" \
+ -DCMAKE_INSTALL_SYSCONFDIR="/etc" \
+ -DBREAKPAD=""
make
}
package() {
- cd "$srcdir/"
+ cd "$pkgname-build"
make DESTDIR="$pkgdir/" install
}