PKGBUILDs/community/kdesvn/PKGBUILD
2009-10-09 21:15:33 -05:00

34 lines
966 B
Bash

# $Id: PKGBUILD 3240 2009-10-01 14:09:22Z ibiru $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=kdesvn
pkgver=1.4.1
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=('kdelibs' 'subversion')
makedepends=('automoc4' 'cmake')
conflicts=('qsvn')
options=('libtool')
source=(http://kdesvn.alwins-world.de/downloads/$pkgname-$pkgver.tar.bz2)
build() {
cd ${srcdir}/$pkgname-$pkgver
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-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
}
md5sums=('e5778ff1c19e50392a13096ab6756521')