From 72478ea649d4cb5336562bbcaad043ac1e02cd87 Mon Sep 17 00:00:00 2001 From: Francesco Marinucci Date: Sun, 2 Dec 2018 20:04:52 +0100 Subject: [PATCH] [skip-ci] kdesvn: fixed qt5 buil & switched to pacman hooks, as per #73 and #74 --- kdesvn/PKGBUILD | 19 +++++++++++++++---- kdesvn/kdesvn.install | 11 ----------- 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 kdesvn/kdesvn.install diff --git a/kdesvn/PKGBUILD b/kdesvn/PKGBUILD index 6dbb4dd3a..60d6de85e 100644 --- a/kdesvn/PKGBUILD +++ b/kdesvn/PKGBUILD @@ -1,6 +1,6 @@ pkgname=kdesvn pkgver=2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="A pure C++ SVN-client for KDE" arch=('x86_64') url="http://projects.kde.org/kdesvn" @@ -9,9 +9,20 @@ depends=('subversion' 'kcoreaddons' 'kdoctools' 'kio' 'knotifications' 'kparts' makedepends=('extra-cmake-modules') conflicts=('qsvn') categories=('programming') -install=$pkgname.install -source=(http://download.kde.org/stable/kdesvn/$pkgver/kdesvn-$pkgver.tar.xz) -md5sums=('fa5bf0058e613750cef85b8da9181d5a') +source=(http://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz + kdesvn-desktop.patch::https://cgit.kde.org/kdesvn.git/patch/?id=5ea40285741a885198a351bd9afe58ff746a1192 + kdesvn-qt-5.11.patch::"https://cgit.kde.org/kdesvn.git/patch/?id=605484fd") +sha256sums=('d58d3a895461633718dad580d1590fe99c9d6e44ca64544784a0e9421eb8f8db' + '7ccbbd548ee3fbd9599fa2f699fef3fa9353d7b6ce7137aff9ab39a40db0330f' + '67f5a362d5de7c587852c820cbaada05bc06e2fc7eb739249363c8c3b9ef4fa2') + +prepare() { + cd "${srcdir}"/$pkgname-$pkgver +# FS#52182 + patch -Np1 -i "${srcdir}"/$pkgname-desktop.patch +# fix build with Qt 5.11 + patch -p1 -i ../kdesvn-qt-5.11.patch +} build() { cd $pkgname-$pkgver diff --git a/kdesvn/kdesvn.install b/kdesvn/kdesvn.install deleted file mode 100644 index b711352cb..000000000 --- a/kdesvn/kdesvn.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -}