2010-09-14 06:50:07 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
|
|
|
|
pkgname=kdesvn
|
2016-05-29 20:09:35 +08:00
|
|
|
pkgver=1.7.0
|
|
|
|
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')
|
|
|
|
url="http://kdesvn.alwins-world.de/"
|
2010-09-14 06:50:07 +08:00
|
|
|
license=('GPL')
|
|
|
|
depends=('hicolor-icon-theme' 'kdelibs' 'subversion' 'xdg-utils' 'qt')
|
2011-01-22 16:07:32 +08:00
|
|
|
makedepends=('automoc4' 'cmake' 'docbook-xsl')
|
2010-09-14 06:50:07 +08:00
|
|
|
conflicts=('qsvn')
|
|
|
|
options=('libtool')
|
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)
|
|
|
|
md5sums=('f3d80daf42dad5d07b9a8cd24541d94d')
|
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 \
|
|
|
|
-DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \
|
2012-08-27 19:24:55 +08:00
|
|
|
-DLIB_SUFFIX=
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
#removing conflicting files - kdesdk
|
2015-03-09 03:08:01 +08:00
|
|
|
rm -f $pkgdir/usr/share/kde4/services/svn*
|
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
|
|
|
}
|