desktop/kdesvn/PKGBUILD
2010-09-14 16:34:38 +00:00

41 lines
1.1 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdesvn
pkgver=1.5.5
pkgrel=1
pkgdesc="A pure C++ SVN-client for KDE"
arch=('i686' 'x86_64')
url="http://www.alwins-world.de/programs/kdesvn/"
license=('GPL')
depends=('hicolor-icon-theme' 'kdelibs' 'subversion' 'xdg-utils' 'qt')
makedepends=('automoc4' 'cmake')
conflicts=('qsvn')
options=('libtool')
install=$pkgname.install
source=(http://kdesvn.alwins-world.de/downloads/$pkgname-$pkgver.tar.bz2)
md5sums=('8f11d31cc55fba408b7971541ee261d0')
build() {
cd ${srcdir}/$pkgname-$pkgver
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \
-DLIB_SUFFIX= || return 1
make || return 1
make DESTDIR=${pkgdir} install
#removing conflicting files - kdesdk
rm -f ${pkgdir}/usr/share/kde4/services/svn* || return 1
# rm -rf ${pkgdir}/usr/include || return 1
}