[arch-commits] Commit in kate/repos/kde-unstable-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Apr 7 23:02:48 UTC 2017


    Date: Friday, April 7, 2017 @ 23:02:47
  Author: arojas
Revision: 292499

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  kate/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 292498, kate/kde-unstable/PKGBUILD)
Deleted:
  kate/repos/kde-unstable-x86_64/PKGBUILD

----------+
 PKGBUILD |  140 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-07 23:02:20 UTC (rev 292498)
+++ PKGBUILD	2017-04-07 23:02:47 UTC (rev 292499)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-
-pkgbase=kate
-pkgname=('kwrite'
-         'kate')
-pkgver=17.03.90
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 'knewstuff' 'ktexteditor'
-             'threadweaver' 'kitemmodels' 'kactivities')
-source=("https://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"{,.sig})
-sha256sums=('44c78b31b1ae36ef38a362108882a28a24476510b2bd0746fc3095ecdc68914e'
-            'SKIP')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
-
-prepare() {
-  mkdir -p build
-}
-
-build() {
-  cd build
-  cmake ../${pkgbase}-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DKDE_INSTALL_LIBDIR=lib \
-    -DSYSCONF_INSTALL_DIR=/etc \
-    -DBUILD_TESTING=OFF
-  make
-}
-
-package_kwrite() {
-  pkgdesc="Text Editor"
-  groups=('kde-applications' 'kdebase')
-  url="https://www.kde.org/applications/utilities/kwrite/"
-  depends=('ktexteditor' 'kactivities' 'hicolor-icon-theme')
-  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="https://www.kde.org/applications/utilities/kate/"
-  depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kitemmodels' 'kactivities' 'hicolor-icon-theme')
-  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/kde-unstable-x86_64/PKGBUILD (from rev 292498, kate/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-04-07 23:02:47 UTC (rev 292499)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgbase=kate
+pkgname=('kwrite'
+         'kate')
+pkgver=17.03.90
+pkgrel=2
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'plasma-framework' 'knewstuff' 'ktexteditor'
+             'threadweaver' 'kitemmodels' 'kactivities')
+source=("https://download.kde.org/stable/applications/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('44c78b31b1ae36ef38a362108882a28a24476510b2bd0746fc3095ecdc68914e'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
+options=(!emptydirs)
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib \
+    -DSYSCONF_INSTALL_DIR=/etc \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package_kwrite() {
+  pkgdesc="Text Editor"
+  groups=('kde-applications' 'kdebase')
+  url="https://www.kde.org/applications/utilities/kwrite/"
+  depends=('ktexteditor' 'kactivities' 'hicolor-icon-theme')
+  replaces=('kdebase-kwrite')
+  conflicts=('kdebase-kwrite')
+  provides=('kdebase-kwrite')
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  find "$pkgdir" -type f -name '*kate*' -exec rm {} \;
+  rm -r "$pkgdir"/usr/lib/qt/plugins/ktexteditor \
+        "$pkgdir"/usr/share/doc/HTML/*/{kate,katepart} \
+        "$pkgdir"/usr/share/katexmltools \
+        "$pkgdir"/usr/share/locale/*/LC_MESSAGES/{kterustcompletion,tabswitcherplugin}.mo \
+        "$pkgdir"/usr/share/plasma/plasmoids
+}
+
+package_kate() {
+  pkgdesc="Advanced Text Editor"
+  groups=('kde-applications' 'kdebase')
+  url="https://www.kde.org/applications/utilities/kate/"
+  depends=('knewstuff' 'ktexteditor' 'threadweaver' 'kitemmodels' 'kactivities' 'hicolor-icon-theme')
+  replaces=('kdesdk-kate')
+  conflicts=('kdesdk-kate')
+  provides=('kdesdk-kate')
+  optdepends=('konsole: open a terminal in Kate')
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  find "$pkgdir" -type f -name '*kwrite*' -exec rm {} \;
+  rm -r "$pkgdir"/usr/share/doc/HTML/*/kwrite
+}



More information about the arch-commits mailing list