summaryrefslogtreecommitdiff
path: root/community/kdesvn/PKGBUILD
blob: f0d900b55f0065d398b4dbb33ce46f781cd73125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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' 'mips64el')
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
}