[arch-commits] Commit in kate/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue May 24 14:26:06 UTC 2022
Date: Tuesday, May 24, 2022 @ 14:26:06
Author: arojas
Revision: 446481
archrelease: copy trunk to extra-x86_64
Added:
kate/repos/extra-x86_64/PKGBUILD
(from rev 446480, kate/trunk/PKGBUILD)
Deleted:
kate/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 69 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-24 14:25:53 UTC (rev 446480)
+++ PKGBUILD 2022-05-24 14:26:06 UTC (rev 446481)
@@ -1,59 +0,0 @@
-# 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=22.04.1
-pkgrel=1
-arch=(x86_64)
-license=(GPL LGPL FDL)
-makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff ktexteditor kactivities kuserfeedback)
-source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig})
-sha256sums=('f46ec33d7edf8032efcd489cc431ebf3f93e703e0e7d88a51e93941fd8509849'
- 'SKIP')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid at kde.org>
- F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck at kde.org>
- D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
-options=(debug)
-
-build() {
- cmake -B build -S $pkgbase-$pkgver \
- -DBUILD_TESTING=OFF
- cmake --build build
-}
-
-package_kwrite() {
- pkgdesc='Text Editor'
- groups=(kde-applications kde-utilities)
- url='https://apps.kde.org/kwrite/'
- depends=(ktexteditor hicolor-icon-theme)
-
- DESTDIR="$pkgdir" cmake --install build
-
- 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/{ktexteditorpreviewplugin,lspclient,tabswitcherplugin}.mo \
- "$pkgdir"/usr/share/plasma/plasmoids
-}
-
-package_kate() {
- pkgdesc='Advanced Text Editor'
- groups=(kde-applications kde-utilities)
- url='https://apps.kde.org/kate/'
- depends=(knewstuff ktexteditor kactivities kuserfeedback hicolor-icon-theme)
- optdepends=('konsole: open a terminal in Kate'
- 'clang: C and C++ LSP support'
- 'python-lsp-server: Python LSP support'
- 'texlab: LaTeX LSP support'
- 'rust: Rust LSP support'
- 'git: git-blame plugin'
- 'markdownpart: Markdown preview'
- 'svgpart: SVG preview')
- DESTDIR="$pkgdir" cmake --install build
-
- find "$pkgdir" -type f -name '*kwrite*' -exec rm {} \;
- rm -r "$pkgdir"/usr/share/doc/HTML/*/kwrite
-}
Copied: kate/repos/extra-x86_64/PKGBUILD (from rev 446480, kate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-24 14:26:06 UTC (rev 446481)
@@ -0,0 +1,69 @@
+# 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=22.04.1
+pkgrel=2
+arch=(x86_64)
+license=(GPL LGPL FDL)
+makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff ktexteditor kactivities kuserfeedback)
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig}
+ https://invent.kde.org/utilities/kate/-/commit/e002696b.patch
+ https://invent.kde.org/utilities/kate/-/commit/36ede44f.patch)
+sha256sums=('f46ec33d7edf8032efcd489cc431ebf3f93e703e0e7d88a51e93941fd8509849'
+ 'SKIP'
+ '9ae2cfeb66985dd6302baf680f98d20f70f8e895d7ff622b0fbeb70366a4f8f4'
+ '29f66ed1b12100ae4962e10afa021cf6a5f1c0dfd952aa142b89c6776723a46e')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid at kde.org>
+ F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck at kde.org>
+ D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
+options=(debug)
+
+prepare() {
+# Fix crash when opening settings
+ patch -d $pkgbase-$pkgver -p1 < e002696b.patch
+ patch -d $pkgbase-$pkgver -p1 < 36ede44f.patch
+}
+
+build() {
+ cmake -B build -S $pkgbase-$pkgver \
+ -DBUILD_TESTING=OFF
+ cmake --build build
+}
+
+package_kwrite() {
+ pkgdesc='Text Editor'
+ groups=(kde-applications kde-utilities)
+ url='https://apps.kde.org/kwrite/'
+ depends=(ktexteditor hicolor-icon-theme)
+
+ DESTDIR="$pkgdir" cmake --install build
+
+ 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/{ktexteditorpreviewplugin,lspclient,tabswitcherplugin}.mo \
+ "$pkgdir"/usr/share/plasma/plasmoids
+}
+
+package_kate() {
+ pkgdesc='Advanced Text Editor'
+ groups=(kde-applications kde-utilities)
+ url='https://apps.kde.org/kate/'
+ depends=(knewstuff ktexteditor kactivities kuserfeedback hicolor-icon-theme)
+ optdepends=('konsole: open a terminal in Kate'
+ 'clang: C and C++ LSP support'
+ 'python-lsp-server: Python LSP support'
+ 'texlab: LaTeX LSP support'
+ 'rust: Rust LSP support'
+ 'git: git-blame plugin'
+ 'markdownpart: Markdown preview'
+ 'svgpart: SVG preview')
+ DESTDIR="$pkgdir" cmake --install build
+
+ find "$pkgdir" -type f -name '*kwrite*' -exec rm {} \;
+ rm -r "$pkgdir"/usr/share/doc/HTML/*/kwrite
+}
More information about the arch-commits
mailing list