diff options
Diffstat (limited to 'staging/kdesdk-kate/PKGBUILD')
-rw-r--r-- | staging/kdesdk-kate/PKGBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/staging/kdesdk-kate/PKGBUILD b/staging/kdesdk-kate/PKGBUILD index 631090335..074b070d3 100644 --- a/staging/kdesdk-kate/PKGBUILD +++ b/staging/kdesdk-kate/PKGBUILD @@ -1,17 +1,18 @@ -# $Id: PKGBUILD 152035 2012-03-04 14:19:16Z andrea $ +# $Id: PKGBUILD 154840 2012-03-31 07:17:54Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgbase=kdesdk-kate -pkgname=('kdebase-kwrite' +pkgname=('kdebase-katepart' + 'kdebase-kwrite' 'kdesdk-kate') -pkgver=4.8.1 +pkgver=4.8.2 pkgrel=1 arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') makedepends=('kdelibs ''cmake' 'automoc4') -source=("http://download.kde.org/stable/${pkgver}/src/xz/kate-${pkgver}.tar.xz" +source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz" 'pkgbuild-syntax-highlight.patch') -sha1sums=('d5bd513cd2bfefc2d345547115d0cb0a9d3e6143' +sha1sums=('6bf4796574a003a4edadfb2029725805235bd086' '0a928253bd2077f0264d96a6c8823c69c47b6a8d') build() { @@ -23,14 +24,23 @@ build() { cd build cmake ../kate-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_KTEXTEDITOR=OFF + -DCMAKE_INSTALL_PREFIX=/usr make } +package_kdebase-katepart() { + pkgdesc="A fast and feature-rich text editor component" + depends=('kdelibs') + url="http://kate-editor.org/about-katepart/" + install='kdebase-katepart.install' + + cd "${srcdir}"/build/part + make DESTDIR="${pkgdir}" install +} + package_kdebase-kwrite() { pkgdesc="Text Editor" - depends=('kdebase-runtime') + depends=('kdebase-runtime' 'kdebase-katepart') groups=('kde' 'kdebase') url="http://www.kde.org/applications/utilities/kwrite/" install='kdebase-kwrite.install' @@ -38,16 +48,13 @@ package_kdebase-kwrite() { cd "${srcdir}"/build/kwrite make DESTDIR="${pkgdir}" install - cd "${srcdir}"/build/part - make DESTDIR="${pkgdir}" install - cd "${srcdir}"/build/doc/kwrite make DESTDIR="${pkgdir}" install } package_kdesdk-kate() { pkgdesc="Advanced Text Editor" - depends=('kdebase-kwrite') + depends=('kdebase-runtime' 'kdebase-katepart') groups=('kde' 'kdesdk') url="http://www.kde.org/applications/utilities/kate/" install='kdesdk-kate.install' |