From 6394a2b0f5ffaf8493020856eba4faafa7995c47 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Tue, 19 Jun 2018 14:31:43 -0700 Subject: Added patch for compiling with Qt 5.11 --- PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 7d37b7d..6a98c47 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,20 +3,25 @@ pkgname=keepassxc pkgver=2.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="Cross-platform community-driven port of Keepass password manager" arch=(x86_64 i686) url="https://keepassxc.org/" license=(GPL) depends=(hicolor-icon-theme libgcrypt argon2 libxtst qt5-x11extras) makedepends=(cmake qt5-tools) -source=("https://github.com/keepassxreboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"{,.sig}) +source=("https://github.com/keepassxreboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"{,.sig} + "keepasspxc-2.3.3-Qt-5.11-fix.diff") sha256sums=('cfff85ef89ba590aec798c59bea4aa3db00626d7bff8cdde0f62ee34aea60ad5' - 'SKIP') + 'SKIP' + '5a3125f49e45127c5836d8892d056941097b4ae814f2497552871cb18c8300a8') validpgpkeys=('BF5A669F2272CF4324C1FDA8CFB4C2166397D0D2') # KeePassXC Release prepare() { mkdir -p build + + # Fix build on Qt 5.11 + patch -p0 "${srcdir}/${pkgname}-${pkgver}/src/gui/entry/EditEntryWidget.cpp" "${srcdir}/keepasspxc-2.3.3-Qt-5.11-fix.diff" } build() { -- cgit v1.2.1