blob: 66ada8eea034159c850d6ad46ca527902b79027c (
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
43
44
45
46
47
|
# $Id: PKGBUILD 66895 2012-02-29 22:49:56Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=kdesvn
pkgver=1.5.5
pkgrel=2
pkgdesc="A pure C++ SVN-client for KDE"
arch=('i686' 'x86_64')
url="http://kdesvn.alwins-world.de/"
license=('GPL')
depends=('kdebase-runtime' 'subversion')
makedepends=('automoc4' 'cmake')
conflicts=('qsvn')
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}"
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 \
-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
}
|