[arch-commits] Commit in katepart4/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Sep 21 09:13:19 UTC 2016
Date: Wednesday, September 21, 2016 @ 09:13:19
Author: arojas
Revision: 276793
Only build needed pieces, drop unused kdebindings-python makedepeds
Modified:
katepart4/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-21 08:53:30 UTC (rev 276792)
+++ PKGBUILD 2016-09-21 09:13:19 UTC (rev 276793)
@@ -4,13 +4,13 @@
pkgname=katepart4
pkgver=4.14.3
-pkgrel=5
+pkgrel=6
pkgdesc="A fast and feature-rich text editor component"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
url="http://kate-editor.org/about-katepart/"
depends=('kdelibs')
-makedepends=('kdelibs' 'cmake' 'automoc4' 'kdebindings-python')
+makedepends=('kdelibs' 'cmake' 'automoc4')
provides=('kdebase-katepart')
replaces=('kdebase-katepart')
source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz"
@@ -23,6 +23,8 @@
cd kate-${pkgver}
patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+# Don't build kate and plasma addons
+ sed -e '/kate/d' -e '/plasma/d' -i addons/CMakeLists.txt
}
build() {
@@ -30,7 +32,10 @@
cmake ../kate-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_kate=OFF \
+ -DBUILD_kwrite=OFF \
+ -DBUILD_doc=OFF
make
}
More information about the arch-commits
mailing list