mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
784 B
Bash
35 lines
784 B
Bash
pkgname=kdesvn
|
|
pkgver=2.0.0
|
|
pkgrel=1
|
|
pkgdesc="A pure C++ SVN-client for KDE"
|
|
arch=('x86_64')
|
|
url="http://projects.kde.org/kdesvn"
|
|
license=('GPL')
|
|
depends=('subversion' 'kcoreaddons' 'kdoctools' 'kio' 'knotifications' 'kparts' 'ktexteditor' 'python')
|
|
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')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
cmake . \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT"
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
#removing $srcdir reference
|
|
rm -rf $pkgdir/usr/share/doc
|
|
}
|