summaryrefslogtreecommitdiff
path: root/kde-unstable/kdesdk-kate/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-31 00:03:48 +0000
committerroot <root@rshg054.dnsready.net>2012-05-31 00:03:48 +0000
commitf1ae949e08a764ac063703dc9bb7f0afd7c16e96 (patch)
treeb542ace0cdaf945c5e495f31e3c87537017c614d /kde-unstable/kdesdk-kate/PKGBUILD
parentf676c2f568b9c75daa3e2b688978b877f950953d (diff)
Thu May 31 00:03:48 UTC 2012
Diffstat (limited to 'kde-unstable/kdesdk-kate/PKGBUILD')
-rw-r--r--kde-unstable/kdesdk-kate/PKGBUILD68
1 files changed, 68 insertions, 0 deletions
diff --git a/kde-unstable/kdesdk-kate/PKGBUILD b/kde-unstable/kdesdk-kate/PKGBUILD
new file mode 100644
index 000000000..172a0e987
--- /dev/null
+++ b/kde-unstable/kdesdk-kate/PKGBUILD
@@ -0,0 +1,68 @@
+# $Id: PKGBUILD 160087 2012-05-29 22:23:54Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgbase=kdesdk-kate
+pkgname=('kdebase-katepart'
+ 'kdebase-kwrite'
+ 'kdesdk-kate')
+pkgver=4.8.80
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('kdelibs ''cmake' 'automoc4')
+source=("http://download.kde.org/unstable/${pkgver}/src/kate-${pkgver}.tar.xz"
+ 'pkgbuild-syntax-highlight.patch')
+sha1sums=('4f757fe5fd2a49a0119b8cafb072d8e742189029'
+ '0a928253bd2077f0264d96a6c8823c69c47b6a8d')
+
+build() {
+ cd "${srcdir}"/kate-${pkgver}
+ patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
+
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kate-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -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' 'kdebase-katepart')
+ groups=('kde' 'kdebase')
+ url="http://www.kde.org/applications/utilities/kwrite/"
+ install='kdebase-kwrite.install'
+
+ cd "${srcdir}"/build/kwrite
+ make DESTDIR="${pkgdir}" install
+
+ cd "${srcdir}"/build/doc/kwrite
+ make DESTDIR="${pkgdir}" install
+}
+
+package_kdesdk-kate() {
+ pkgdesc="Advanced Text Editor"
+ depends=('kdebase-runtime' 'kdebase-katepart')
+ groups=('kde' 'kdesdk')
+ url="http://www.kde.org/applications/utilities/kate/"
+ install='kdesdk-kate.install'
+ optdepends=('kdebase-konsole: open a terminal in Kate')
+
+ cd "${srcdir}"/build/kate
+ make DESTDIR="${pkgdir}" install
+
+ cd "${srcdir}"/build/doc/kate
+ make DESTDIR="${pkgdir}" install
+}