desktop/kdesvn/PKGBUILD
Adrián Chaves Fernández (Gallaecio) 8429306e9f kdesvn 1.7.0
2016-05-29 14:09:35 +02:00

44 lines
947 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
pkgname=kdesvn
pkgver=1.7.0
pkgrel=1
pkgdesc="A pure C++ SVN-client for KDE"
arch=('x86_64')
url="http://kdesvn.alwins-world.de/"
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://download.kde.org/stable/kdesvn/$pkgver/kdesvn-$pkgver.tar.xz)
md5sums=('f3d80daf42dad5d07b9a8cd24541d94d')
build() {
cd $pkgname-$pkgver
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \
-DLIB_SUFFIX=
make
}
package() {
cd $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
}