desktop/kdesvn/PKGBUILD
2012-08-27 11:24:55 +00:00

49 lines
1.2 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kdesvn
pkgver=1.6.0
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' 'docbook-xsl')
conflicts=('qsvn')
options=('libtool')
categories=('programming')
install=$pkgname.install
source=(http://kdesvn.alwins-world.de/downloads/$pkgname-$pkgver.tar.bz2)
md5sums=('7e6adc98ff4777a06d5752d3f2b58fa3')
build() {
cd ${srcdir}/$pkgname-$pkgver
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-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
}