[arch-commits] Commit in kate/repos (8 files)
Antonio Rojas
arojas at archlinux.org
Thu Nov 19 20:49:37 UTC 2015
Date: Thursday, November 19, 2015 @ 21:49:37
Author: arojas
Revision: 251310
archrelease: copy kde-unstable to staging-i686, staging-x86_64
Added:
kate/repos/staging-i686/
kate/repos/staging-i686/PKGBUILD
(from rev 251309, kate/kde-unstable/PKGBUILD)
kate/repos/staging-i686/kate.install
(from rev 251309, kate/kde-unstable/kate.install)
kate/repos/staging-i686/kwrite.install
(from rev 251309, kate/kde-unstable/kwrite.install)
kate/repos/staging-x86_64/
kate/repos/staging-x86_64/PKGBUILD
(from rev 251309, kate/kde-unstable/PKGBUILD)
kate/repos/staging-x86_64/kate.install
(from rev 251309, kate/kde-unstable/kate.install)
kate/repos/staging-x86_64/kwrite.install
(from rev 251309, kate/kde-unstable/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 251309, kate/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-11-19 20:49:37 UTC (rev 251310)
@@ -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.11.80
+pkgrel=1
+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/unstable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
+sha1sums=('dbbb4bbb3cb05c443670ef572975101cdd57e6e6')
+
+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 251309, kate/kde-unstable/kate.install)
===================================================================
--- staging-i686/kate.install (rev 0)
+++ staging-i686/kate.install 2015-11-19 20:49:37 UTC (rev 251310)
@@ -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 251309, kate/kde-unstable/kwrite.install)
===================================================================
--- staging-i686/kwrite.install (rev 0)
+++ staging-i686/kwrite.install 2015-11-19 20:49:37 UTC (rev 251310)
@@ -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 251309, kate/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-11-19 20:49:37 UTC (rev 251310)
@@ -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.11.80
+pkgrel=1
+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/unstable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
+sha1sums=('dbbb4bbb3cb05c443670ef572975101cdd57e6e6')
+
+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 251309, kate/kde-unstable/kate.install)
===================================================================
--- staging-x86_64/kate.install (rev 0)
+++ staging-x86_64/kate.install 2015-11-19 20:49:37 UTC (rev 251310)
@@ -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 251309, kate/kde-unstable/kwrite.install)
===================================================================
--- staging-x86_64/kwrite.install (rev 0)
+++ staging-x86_64/kwrite.install 2015-11-19 20:49:37 UTC (rev 251310)
@@ -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