# Include global configuration source ../kdeapps.conf pkgname=konsolepart4 pkgver=${_oldkdever} pkgrel=7 arch=('x86_64') url='http://kde.org/applications/system/konsole/' pkgdesc="KDE terminal part" license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime' 'kde-baseapps-lib') makedepends=('cmake' 'automoc4' 'docbook-xsl') provides=('kde-baseapps-konsole') conflicts=("kde-baseapps-konsole<$pkgver-2") source=("http://download.kde.org/stable/${pkgver}/src/konsole-${pkgver}.tar.xz") sha1sums=('5ae78061f38f06f80ee10f4475ff33d1c0843b4d') prepare() { mkdir build } build() { cd build cmake ../konsole-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install # provided by konsole rm -r "$pkgdir"/usr/{bin,share/{applications,doc}} rm "${pkgdir}"/usr/lib/libkdeinit4_konsole.so }