Date: Saturday, October 30, 2021 @ 19:03:34 Author: arojas Revision: 426839
archrelease: copy trunk to extra-x86_64 Added: kate/repos/extra-x86_64/PKGBUILD (from rev 426838, kate/trunk/PKGBUILD) Deleted: kate/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 118 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 62 insertions(+), 56 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-30 19:03:17 UTC (rev 426838) +++ PKGBUILD 2021-10-30 19:03:34 UTC (rev 426839) @@ -1,56 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> - -pkgbase=kate -pkgname=(kwrite kate) -pkgver=21.08.2 -pkgrel=1 -arch=(x86_64) -license=(GPL LGPL FDL) -makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff kitemmodels ktexteditor kactivities kuserfeedback) -source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgbase-$pkgver.tar.xz{,.sig}) -sha256sums=('d68898759dd2538051124681e5928ef5fb163ca61b6cd8f59ee056cc068ea6b2' - 'SKIP') -validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> - F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cf...@kde.org> - D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.bec...@kde.org> - -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-language-server: Python LSP support' - 'texlab: LaTeX LSP support' - 'rust: Rust LSP support' - 'git: git-blame plugin') - 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 426838, kate/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-30 19:03:34 UTC (rev 426839) @@ -0,0 +1,62 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgbase=kate +pkgname=(kwrite kate) +pkgver=21.08.2 +pkgrel=2 +arch=(x86_64) +license=(GPL LGPL FDL) +makedepends=(extra-cmake-modules kdoctools plasma-framework knewstuff kitemmodels 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/8328b53f.patch) +sha256sums=('d68898759dd2538051124681e5928ef5fb163ca61b6cd8f59ee056cc068ea6b2' + 'SKIP' + '082c4a0c985b07e0f6976f0e183c28be290b796978f362e46e3917c24d9ca4b1') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cf...@kde.org> + D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.bec...@kde.org> + +prepare() { + patch -d $pkgbase-$pkgver -p1 < 8328b53f.patch # Use python-lsp-server +} + +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') + DESTDIR="$pkgdir" cmake --install build + + find "$pkgdir" -type f -name '*kwrite*' -exec rm {} \; + rm -r "$pkgdir"/usr/share/doc/HTML/*/kwrite +}