desktop/kdesvn/PKGBUILD

44 lines
947 B
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
pkgname=kdesvn
2016-05-29 20:09:35 +08:00
pkgver=1.7.0
pkgrel=1
pkgdesc="A pure C++ SVN-client for KDE"
2015-03-09 03:08:01 +08:00
arch=('x86_64')
url="http://kdesvn.alwins-world.de/"
license=('GPL')
depends=('hicolor-icon-theme' 'kdelibs' 'subversion' 'xdg-utils' 'qt')
2011-01-22 16:07:32 +08:00
makedepends=('automoc4' 'cmake' 'docbook-xsl')
conflicts=('qsvn')
options=('libtool')
categories=('programming')
install=$pkgname.install
2016-05-29 20:09:35 +08:00
source=(http://download.kde.org/stable/kdesvn/$pkgver/kdesvn-$pkgver.tar.xz)
md5sums=('f3d80daf42dad5d07b9a8cd24541d94d')
build() {
2015-03-09 03:08:01 +08:00
cd $pkgname-$pkgver
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_FLAGS="-DQT_THREAD_SUPPORT" \
2012-08-27 19:24:55 +08:00
-DLIB_SUFFIX=
make
}
package() {
2015-03-09 03:08:01 +08:00
cd $pkgname-$pkgver
2015-03-09 03:08:01 +08:00
make DESTDIR=$pkgdir install
#removing conflicting files - kdesdk
2015-03-09 03:08:01 +08:00
rm -f $pkgdir/usr/share/kde4/services/svn*
2012-08-27 19:24:55 +08:00
#removing $srcdir reference
2015-03-09 03:08:01 +08:00
rm -rf $pkgdir/usr/share/doc
}