[skip-ci] kdesvn: fixed qt5 buil & switched to pacman hooks, as per #73 and #74

This commit is contained in:
Francesco Marinucci 2018-12-02 20:04:52 +01:00
parent 30244699c5
commit 72478ea649
2 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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
}