diff options
author | Volodymyr Zolotopupov | 2024-03-17 23:30:34 +0200 |
---|---|---|
committer | Volodymyr Zolotopupov | 2024-03-17 23:43:43 +0200 |
commit | fd658b4a6e6bcb8aef4987ab9cf949ea73b6437f (patch) | |
tree | a6a32fd177b7076a7049da1aad1464f4f076a52c | |
parent | 0b2433f8b8e1e1c549ab43edd37d1df7e1fcdc10 (diff) | |
download | aur-fd658b4a6e6bcb8aef4987ab9cf949ea73b6437f.tar.gz |
I can't commit this to the KDE git due to some special mechanism to update locales, so just workaround it here...
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = ksysguard6-git pkgdesc = Track and control the processes running in your system. KF6 version pkgver = 6.0.1 - pkgrel = 1 + pkgrel = 2 url = https://kde.org/plasma-desktop/ arch = x86_64 license = LGPL @@ -2,7 +2,7 @@ pkgname=ksysguard6-git pkgver=6.0.1 -pkgrel=1 +pkgrel=2 pkgdesc='Track and control the processes running in your system. KF6 version' arch=(x86_64) url='https://kde.org/plasma-desktop/' @@ -32,6 +32,17 @@ makedepends=(extra-cmake-modules source=(git+https://invent.kde.org/vvova/ksysguard.git#branch=kf6) sha256sums=('SKIP') +prepare() { + cd ksysguard + # I have no clue how to commit locales into KDE's git, so... + sed -i s/\&kmenu/kmenu/g po/de/docs/ksysguard/index.docbook + sed -i s/\&kmenu/kmenu/g po/pt/docs/ksysguard/index.docbook + + sed -i -e 's/#add_subdirectory( doc )/add_subdirectory( doc )/g; + s/#kdoctools_install(po)/kdoctools_install(po)/g' \ + CMakeLists.txt +} + build() { cmake -B build -S ksysguard \ -DBUILD_TESTING=OFF |