desktop/kdesvn/PKGBUILD

44 lines
966 B
Bash
Raw Normal View History

#
# Chakra Packages for Chakra, part of chakra-project.org
#
pkgname=kdesvn
2012-08-27 19:24:55 +08:00
pkgver=1.6.0
2015-03-09 03:08:01 +08:00
pkgrel=2
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
2015-03-09 03:08:01 +08:00
source=(https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.orig.tar.bz2)
2012-08-27 19:24:55 +08:00
md5sums=('7e6adc98ff4777a06d5752d3f2b58fa3')
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
}