[arch-commits] Commit in kdesdk-kate/trunk (4 files)

Andrea Scarpino andrea at archlinux.org
Mon Jul 25 00:12:18 UTC 2011


    Date: Sunday, July 24, 2011 @ 20:12:17
  Author: andrea
Revision: 132573

move pkgbuilds to trunk; cleanup

Added:
  kdesdk-kate/trunk/PKGBUILD
    (from rev 132557, kdesdk-kate/kde-unstable/PKGBUILD)
  kdesdk-kate/trunk/kdebase-kwrite.install
    (from rev 132557, kdesdk-kate/kde-unstable/kdebase-kwrite.install)
  kdesdk-kate/trunk/kdesdk-kate.install
    (from rev 132557, kdesdk-kate/kde-unstable/kdesdk-kate.install)
  kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch
    (from rev 132557, kdesdk-kate/kde-unstable/pkgbuild-syntax-highlight.patch)

---------------------------------+
 PKGBUILD                        |   58 ++++++++++++++++++++++++++++++++++++++
 kdebase-kwrite.install          |   12 +++++++
 kdesdk-kate.install             |   12 +++++++
 pkgbuild-syntax-highlight.patch |   11 +++++++
 4 files changed, 93 insertions(+)

Copied: kdesdk-kate/trunk/PKGBUILD (from rev 132557, kdesdk-kate/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:12:17 UTC (rev 132573)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kdesdk-kate
+pkgname=('kdebase-kwrite'
+         'kdesdk-kate')
+pkgver=4.7.0
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('kdelibs ''cmake' 'automoc4')
+source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.bz2"
+        'pkgbuild-syntax-highlight.patch')
+sha1sums=('8a9685f58c9a7cc2c317ffc4f2bd18b76639a2cd'
+          'ab0c5d2a796b0f283154799add161c99f48ffcd5')
+
+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 \
+    -DBUILD_KTEXTEDITOR=OFF
+  make
+}
+
+package_kdebase-kwrite() {
+  pkgdesc="Text Editor"
+  depends=('kdebase-runtime')
+  groups=('kde' 'kdebase')
+  install='kdebase-kwrite.install'
+
+  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')
+  groups=('kde' 'kdesdk')
+  install='kdesdk-kate.install'
+
+  cd "${srcdir}"/build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd "${srcdir}"/build/doc/kate
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdesdk-kate/trunk/kdebase-kwrite.install (from rev 132557, kdesdk-kate/kde-unstable/kdebase-kwrite.install)
===================================================================
--- kdebase-kwrite.install	                        (rev 0)
+++ kdebase-kwrite.install	2011-07-25 00:12:17 UTC (rev 132573)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdesdk-kate/trunk/kdesdk-kate.install (from rev 132557, kdesdk-kate/kde-unstable/kdesdk-kate.install)
===================================================================
--- kdesdk-kate.install	                        (rev 0)
+++ kdesdk-kate.install	2011-07-25 00:12:17 UTC (rev 132573)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kdesdk-kate/trunk/pkgbuild-syntax-highlight.patch (from rev 132557, kdesdk-kate/kde-unstable/pkgbuild-syntax-highlight.patch)
===================================================================
--- pkgbuild-syntax-highlight.patch	                        (rev 0)
+++ pkgbuild-syntax-highlight.patch	2011-07-25 00:12:17 UTC (rev 132573)
@@ -0,0 +1,11 @@
+--- kate-4.6.80/part/syntax/data/bash.xml~	2011-05-23 21:20:34.295137123 +0000
++++ kate-4.6.80/part/syntax/data/bash.xml	2011-05-23 21:20:54.581993368 +0000
+@@ -8,7 +8,7 @@
+         <!ENTITY noword   "(?![\w$+-])">                <!-- no word, $, + or - following -->
+         <!ENTITY pathpart "([\w_ at .%*?+-]|\\ )">     <!-- valid character in a file name -->
+ ]>
+-<language name="Bash" version="2.12" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert at kde.nl)" license="LGPL">
++<language name="Bash" version="2.12" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert at kde.nl)" license="LGPL">
+ 
+ <!-- (c) 2004 by Wilbert Berendsen (wilbert at kde.nl)
+     Changes by Matthew Woehlke (mw_triad at users.sourceforge.net)




More information about the arch-commits mailing list