diff options
Diffstat (limited to 'extra/kdesdk-kate/PKGBUILD')
-rw-r--r-- | extra/kdesdk-kate/PKGBUILD | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/extra/kdesdk-kate/PKGBUILD b/extra/kdesdk-kate/PKGBUILD index c4bec455e..054f8b8cd 100644 --- a/extra/kdesdk-kate/PKGBUILD +++ b/extra/kdesdk-kate/PKGBUILD @@ -1,30 +1,32 @@ -# $Id: PKGBUILD 174643 2013-01-05 13:02:25Z andrea $ +# $Id: PKGBUILD 177635 2013-02-08 08:55:54Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgbase=kdesdk-kate pkgname=('kdebase-katepart' 'kdebase-kwrite' 'kdesdk-kate') -pkgver=4.9.5 +pkgver=4.10.0 pkgrel=1 arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') -makedepends=('kdelibs ''cmake' 'automoc4') +makedepends=('kdelibs ''cmake' 'automoc4' 'kdebindings-python2') source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz" 'pkgbuild-syntax-highlight.patch') -sha1sums=('7b1f00228c9485318ab5bf8ac93bf9e1a78b53ea' - '0a928253bd2077f0264d96a6c8823c69c47b6a8d') +sha1sums=('9754f1acd55278d529c4e7a5a778b5cec51e73b9' + 'dc70306c507083cf9b4bb1c536858742292fa1bf') build() { - cd "${srcdir}"/kate-${pkgver} + cd kate-${pkgver} patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch + cd ../ - cd "${srcdir}" mkdir build cd build cmake ../kate-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 make } @@ -34,7 +36,7 @@ package_kdebase-katepart() { url="http://kate-editor.org/about-katepart/" install='kdebase-katepart.install' - cd "${srcdir}"/build/part + cd build/part make DESTDIR="${pkgdir}" install } @@ -45,24 +47,27 @@ package_kdebase-kwrite() { url="http://www.kde.org/applications/utilities/kwrite/" install='kdebase-kwrite.install' - cd "${srcdir}"/build/kwrite + cd build/kwrite make DESTDIR="${pkgdir}" install + cd ../../ - cd "${srcdir}"/build/doc/kwrite + cd build/doc/kwrite make DESTDIR="${pkgdir}" install } package_kdesdk-kate() { pkgdesc="Advanced Text Editor" - depends=('kdebase-runtime' 'kdebase-katepart') + depends=('kdebase-runtime' 'kdebase-katepart' 'qjson') groups=('kde' 'kdesdk') url="http://www.kde.org/applications/utilities/kate/" install='kdesdk-kate.install' - optdepends=('kdebase-konsole: open a terminal in Kate') + optdepends=('kdebase-konsole: open a terminal in Kate' + 'kdebindings-python2: python bindings') - cd "${srcdir}"/build/kate + cd build/kate make DESTDIR="${pkgdir}" install + cd ../../ - cd "${srcdir}"/build/doc/kate + cd build/doc/kate make DESTDIR="${pkgdir}" install } |