[arch-commits] Commit in kate/repos (8 files)

Allan McRae allan at archlinux.org
Tue Dec 8 13:00:58 UTC 2015


    Date: Tuesday, December 8, 2015 @ 14:00:58
  Author: allan
Revision: 253823

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  kate/repos/staging-i686/
  kate/repos/staging-i686/PKGBUILD
    (from rev 253820, kate/trunk/PKGBUILD)
  kate/repos/staging-i686/kate.install
    (from rev 253821, kate/trunk/kate.install)
  kate/repos/staging-i686/kwrite.install
    (from rev 253821, kate/trunk/kwrite.install)
  kate/repos/staging-x86_64/
  kate/repos/staging-x86_64/PKGBUILD
    (from rev 253821, kate/trunk/PKGBUILD)
  kate/repos/staging-x86_64/kate.install
    (from rev 253821, kate/trunk/kate.install)
  kate/repos/staging-x86_64/kwrite.install
    (from rev 253821, kate/trunk/kwrite.install)

-------------------------------+
 staging-i686/PKGBUILD         |   67 ++++++++++++++++++++++++++++++++++++++++
 staging-i686/kate.install     |   13 +++++++
 staging-i686/kwrite.install   |   12 +++++++
 staging-x86_64/PKGBUILD       |   67 ++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/kate.install   |   13 +++++++
 staging-x86_64/kwrite.install |   12 +++++++
 6 files changed, 184 insertions(+)

Copied: kate/repos/staging-i686/PKGBUILD (from rev 253820, kate/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-08 13:00:58 UTC (rev 253823)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kate
+pkgname=('kwrite'
+         'kate')
+pkgver=15.08.3
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels' 'kactivities-frameworks')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
+sha1sums=('df6d4fbfb5af79aa67051b1967fb00aecefcd920')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DSYSCONF_INSTALL_DIR=/etc \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package_kwrite() {
+  pkgdesc="Text Editor"
+  groups=('kde-applications' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kwrite/"
+  install='kwrite.install'
+  replaces=('kdebase-kwrite')
+  conflicts=('kdebase-kwrite')
+  provides=('kdebase-kwrite')
+
+  cd build/kwrite
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kwrite
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kate() {
+  pkgdesc="Advanced Text Editor"
+  groups=('kde-applications' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kate/"
+  install='kate.install'
+  replaces=('kdesdk-kate')
+  conflicts=('kdesdk-kate')
+  provides=('kdesdk-kate')
+  optdepends=('konsole: open a terminal in Kate')
+
+  cd build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../../build/addons
+  make DESTDIR="${pkgdir}" install
+}

Copied: kate/repos/staging-i686/kate.install (from rev 253821, kate/trunk/kate.install)
===================================================================
--- staging-i686/kate.install	                        (rev 0)
+++ staging-i686/kate.install	2015-12-08 13:00:58 UTC (rev 253823)
@@ -0,0 +1,13 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: kate/repos/staging-i686/kwrite.install (from rev 253821, kate/trunk/kwrite.install)
===================================================================
--- staging-i686/kwrite.install	                        (rev 0)
+++ staging-i686/kwrite.install	2015-12-08 13:00:58 UTC (rev 253823)
@@ -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: kate/repos/staging-x86_64/PKGBUILD (from rev 253821, kate/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-08 13:00:58 UTC (rev 253823)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kate
+pkgname=('kwrite'
+         'kate')
+pkgver=15.08.3
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kded' 'kitemmodels' 'kactivities-frameworks')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
+sha1sums=('df6d4fbfb5af79aa67051b1967fb00aecefcd920')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DSYSCONF_INSTALL_DIR=/etc \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package_kwrite() {
+  pkgdesc="Text Editor"
+  groups=('kde-applications' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kwrite/"
+  install='kwrite.install'
+  replaces=('kdebase-kwrite')
+  conflicts=('kdebase-kwrite')
+  provides=('kdebase-kwrite')
+
+  cd build/kwrite
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kwrite
+  make DESTDIR="${pkgdir}" install
+}
+
+package_kate() {
+  pkgdesc="Advanced Text Editor"
+  groups=('kde-applications' 'kdebase')
+  url="http://www.kde.org/applications/utilities/kate/"
+  install='kate.install'
+  replaces=('kdesdk-kate')
+  conflicts=('kdesdk-kate')
+  provides=('kdesdk-kate')
+  optdepends=('konsole: open a terminal in Kate')
+
+  cd build/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../build/doc/kate
+  make DESTDIR="${pkgdir}" install
+
+  cd ../../../build/addons
+  make DESTDIR="${pkgdir}" install
+}

Copied: kate/repos/staging-x86_64/kate.install (from rev 253821, kate/trunk/kate.install)
===================================================================
--- staging-x86_64/kate.install	                        (rev 0)
+++ staging-x86_64/kate.install	2015-12-08 13:00:58 UTC (rev 253823)
@@ -0,0 +1,13 @@
+post_install() {
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+    update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: kate/repos/staging-x86_64/kwrite.install (from rev 253821, kate/trunk/kwrite.install)
===================================================================
--- staging-x86_64/kwrite.install	                        (rev 0)
+++ staging-x86_64/kwrite.install	2015-12-08 13:00:58 UTC (rev 253823)
@@ -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
+}



More information about the arch-commits mailing list