
























It's not building. I get this error: ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'plasma6-applets-appgrid-1.4.0-1': error: packages failed to build: plasma6-applets-appgrid-1.4.0-1
Hi, your package is missing a lot of dependencies according to namcap. Here is a patch file that does the following:
-j$(nproc). This is improper, as it is up to the user to define how many jobs the require in `/etc/makepkg.conf.None as described in the CMake package guideliens.diff --git a/PKGBUILD b/PKGBUILD
index 7c24d38..c42cfb2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,20 +9,26 @@ license=('GPL-2.0-or-later')
depends=(
'plasma-workspace'
'kservice'
- 'ki18n'
'layer-shell-qt'
-)
-makedepends=(
- 'cmake'
- 'extra-cmake-modules'
+ 'kcoreaddons'
+ 'kdeclarative'
'qt6-base'
+ 'glibc'
'qt6-declarative'
+ 'kwindowsystem'
+ 'libgcc'
+ 'libstdc++'
+ 'ksvg'
+ 'kcmutils'
+ 'kirigami'
+ 'milou'
+ 'kiconthemes'
'libplasma'
- 'kpackage'
'kio'
- 'kcoreaddons'
- 'kwindowsystem'
- 'gettext'
+)
+makedepends=(
+ 'cmake'
+ 'extra-cmake-modules'
)
provides=('appgrid')
conflicts=('appgrid')
@@ -32,9 +38,9 @@ sha256sums=('4c9f8952e5986496a4d7e10b1f48bd73a10a387061941bbb5cf434b4139b2003')
build() {
cmake -B build -S "plasma6-applet-appgrid-${pkgver}" \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
- cmake --build build -j$(nproc)
+ cmake --build build
}
package() {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@okunium sorry for that, i recreated the tag and thought I was fast enough :)