summaryrefslogtreecommitdiff
path: root/extra/kdesdk-kate
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-06 00:01:15 +0000
committerroot <root@rshg054.dnsready.net>2012-04-06 00:01:15 +0000
commit870286a74f6142709671fd3437944382f29bf352 (patch)
tree00501e7d18319db16b20e39436b8fb60837bdfe5 /extra/kdesdk-kate
parenta7f79fc1ced18c586d320033ac9738e98a21b550 (diff)
Fri Apr 6 00:01:15 UTC 2012
Diffstat (limited to 'extra/kdesdk-kate')
-rw-r--r--extra/kdesdk-kate/PKGBUILD29
-rw-r--r--extra/kdesdk-kate/kdebase-katepart.install11
2 files changed, 29 insertions, 11 deletions
diff --git a/extra/kdesdk-kate/PKGBUILD b/extra/kdesdk-kate/PKGBUILD
index 3a332b7df..0bca1265c 100644
--- a/extra/kdesdk-kate/PKGBUILD
+++ b/extra/kdesdk-kate/PKGBUILD
@@ -1,17 +1,18 @@
-# $Id: PKGBUILD 153072 2012-03-12 09:03:04Z andrea $
+# $Id: PKGBUILD 155525 2012-04-04 14:12:29Z 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/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'
diff --git a/extra/kdesdk-kate/kdebase-katepart.install b/extra/kdesdk-kate/kdebase-katepart.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/extra/kdesdk-kate/kdebase-katepart.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}