summaryrefslogtreecommitdiff
path: root/community/kdesvn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kdesvn/PKGBUILD')
-rw-r--r--community/kdesvn/PKGBUILD33
1 files changed, 19 insertions, 14 deletions
diff --git a/community/kdesvn/PKGBUILD b/community/kdesvn/PKGBUILD
index 8412cb336..66ada8eea 100644
--- a/community/kdesvn/PKGBUILD
+++ b/community/kdesvn/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 26469 2010-09-15 21:07:57Z jlichtblau $
+# $Id: PKGBUILD 66895 2012-02-29 22:49:56Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=kdesvn
pkgver=1.5.5
-pkgrel=1
+pkgrel=2
pkgdesc="A pure C++ SVN-client for KDE"
arch=('i686' 'x86_64')
-url="http://www.alwins-world.de/programs/kdesvn/"
+url="http://kdesvn.alwins-world.de/"
license=('GPL')
-depends=('hicolor-icon-theme' 'kdelibs' 'subversion' 'xdg-utils' 'qt')
+depends=('kdebase-runtime' 'subversion')
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')
+install=kdesvn.install
+source=("http://kdesvn.alwins-world.de/downloads/${pkgname}-${pkgver}.tar.bz2"
+ 'kdesvn-1.5.5-qt48.patch'
+ 'kdesvn-1.5.5-doctype-version.patch')
+md5sums=('8f11d31cc55fba408b7971541ee261d0'
+ 'a7440581e373e06e4290e1f0d905c6f2'
+ '64368d7cb40ce9fe7656f886337628b8')
build() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/kdesvn-1.5.5-qt48.patch"
+ patch -Np1 -i "${srcdir}/kdesvn-1.5.5-doctype-version.patch"
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -30,13 +35,13 @@ build() {
}
package() {
- cd ${srcdir}/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
-#removing conflicting files - kdesdk
+ #removing conflicting files - kdesdk
rm -f ${pkgdir}/usr/share/kde4/services/svn*
-#removing $srcdir reference
+ #removing $srcdir reference
rm -rf ${pkgdir}/usr/share/doc
}