summaryrefslogtreecommitdiff
path: root/community/kdesvn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kdesvn/PKGBUILD')
-rw-r--r--community/kdesvn/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/kdesvn/PKGBUILD b/community/kdesvn/PKGBUILD
new file mode 100644
index 000000000..8412cb336
--- /dev/null
+++ b/community/kdesvn/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 26469 2010-09-15 21:07:57Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
+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
+changelog=$pkgname.changelog
+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=Release \
+ -DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \
+ -DLIB_SUFFIX=
+
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
+
+#removing conflicting files - kdesdk
+ rm -f ${pkgdir}/usr/share/kde4/services/svn*
+
+#removing $srcdir reference
+ rm -rf ${pkgdir}/usr/share/doc
+}