desktop/kdesvn/PKGBUILD

35 lines
784 B
Bash
Raw Normal View History

pkgname=kdesvn
pkgver=2.0.0
2016-05-29 20:09:35 +08:00
pkgrel=1
pkgdesc="A pure C++ SVN-client for KDE"
2015-03-09 03:08:01 +08:00
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
2016-05-29 20:09:35 +08:00
source=(http://download.kde.org/stable/kdesvn/$pkgver/kdesvn-$pkgver.tar.xz)
md5sums=('fa5bf0058e613750cef85b8da9181d5a')
build() {
2015-03-09 03:08:01 +08:00
cd $pkgname-$pkgver
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-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
2015-03-09 03:08:01 +08:00
make DESTDIR=$pkgdir install
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
}