2010-09-14 06:50:07 +08:00
|
|
|
pkgname=kdesvn
|
2016-12-09 09:23:47 +08:00
|
|
|
pkgver=2.0.0
|
2016-05-29 20:09:35 +08:00
|
|
|
pkgrel=1
|
2010-09-14 06:50:07 +08:00
|
|
|
pkgdesc="A pure C++ SVN-client for KDE"
|
2015-03-09 03:08:01 +08:00
|
|
|
arch=('x86_64')
|
2016-12-09 09:23:47 +08:00
|
|
|
url="http://projects.kde.org/kdesvn"
|
2010-09-14 06:50:07 +08:00
|
|
|
license=('GPL')
|
2016-12-09 09:23:47 +08:00
|
|
|
depends=('subversion' 'kcoreaddons' 'kdoctools' 'kio' 'knotifications' 'kparts' 'ktexteditor' 'python')
|
|
|
|
makedepends=('extra-cmake-modules')
|
2010-09-14 06:50:07 +08:00
|
|
|
conflicts=('qsvn')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('programming')
|
2010-09-14 06:50:07 +08:00
|
|
|
install=$pkgname.install
|
2016-05-29 20:09:35 +08:00
|
|
|
source=(http://download.kde.org/stable/kdesvn/$pkgver/kdesvn-$pkgver.tar.xz)
|
2016-12-09 09:23:47 +08:00
|
|
|
md5sums=('fa5bf0058e613750cef85b8da9181d5a')
|
2010-09-14 06:50:07 +08:00
|
|
|
|
|
|
|
build() {
|
2015-03-09 03:08:01 +08:00
|
|
|
cd $pkgname-$pkgver
|
2010-09-14 06:50:07 +08:00
|
|
|
|
|
|
|
cmake . \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
2016-12-09 09:23:47 +08:00
|
|
|
-DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT"
|
2012-08-27 19:24:55 +08:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-03-09 03:08:01 +08:00
|
|
|
cd $pkgname-$pkgver
|
2010-09-14 06:50:07 +08:00
|
|
|
|
2015-03-09 03:08:01 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
2010-09-14 06:50:07 +08:00
|
|
|
|
2012-08-27 19:24:55 +08:00
|
|
|
#removing $srcdir reference
|
2015-03-09 03:08:01 +08:00
|
|
|
rm -rf $pkgdir/usr/share/doc
|
2010-09-14 06:50:07 +08:00
|
|
|
}
|