Package Details: kwin-scripts-krohnkite 0.9.9.2-4

Git Clone URL: https://aur.archlinux.org/kwin-scripts-krohnkite.git (read-only, click to copy)
Package Base: kwin-scripts-krohnkite
Description: A dynamic tiling extension for KWin
Upstream URL: https://codeberg.org/anametologin/krohnkite
Licenses: MIT
Submitter: matthewq337
Maintainer: matthewq337
Last Packager: matthewq337
Votes: 5
Popularity: 0.001543
First Submitted: 2025-06-17 20:05 (UTC)
Last Updated: 2026-06-04 03:02 (UTC)

Latest Comments

1 2 Next › Last »

Hanabishi commented on 2026-10-20 18:15 (UTC)

The first sentence wasn't for you, but for the package maintainter (matthewq337).

jcruz commented on 2026-10-20 17:24 (UTC)

What do you mean when you say "is kinda against the rules"?

If the checksum change was a one time thing, we just need to update the checksum then and make a new revision.

Hanabishi commented on 2026-10-20 16:58 (UTC)

I think switching to prebuilts is not a solution and is kinda against the rules.

I wonder how is it possible the checksum changed?

https://codeberg.org/Codeberg/Community/issues/2861#issuecomment-19077632

jcruz commented on 2026-08-11 13:37 (UTC) (edited on 2026-08-11 13:48 (UTC) by jcruz)

I had the same experience. I fixed it by changing the checksum to 'SKIP', but might not have been a very smart thing to do during the AUR wave of attacks. One thing that I noticed is that there hasn't been a new release, so I wonder how is it possible the checksum changed? We could recalculate the checksum, but how do we know the files haven't been tainted with?

Having said that, the checksum is broken only for the "SOURCE" tar ball. I do not know why we are even downloding the source files, since the second file we download is the kwinscript that already has the compiled plugin. Could we remove the download of the tar ball and thus the wrong checksum?

ironhak commented on 2026-08-10 15:43 (UTC) (edited on 2026-08-10 15:44 (UTC) by ironhak)

hello installation fails

$ yay -S kwin-scripts-krohnkite
AUR Explicit (1): kwin-scripts-krohnkite-0.9.9.2-4
:: PKGBUILD up to date, skipping download: kwin-scripts-krohnkite
  1 kwin-scripts-krohnkite                   (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  1 kwin-scripts-krohnkite                   (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: kwin-scripts-krohnkite 0.9.9.2-4 (Mon 10 Aug 2026 05:43:25 PM CEST)
==> Retrieving sources...
  -> Found 0.9.9.2.tar.gz
  -> Found krohnkite.kwinscript
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    0.9.9.2.tar.gz ... FAILED
    krohnkite.kwinscript ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/edoardo/.cache/yay/kwin-scripts-krohnkite 
         context: exit status 1 


:: (1/1) Parsing SRCINFO: kwin-scripts-krohnkite
==> Making package: kwin-scripts-krohnkite 0.9.9.2-4 (Mon 10 Aug 2026 05:43:25 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found 0.9.9.2.tar.gz
  -> Found krohnkite.kwinscript
==> Validating source files with sha256sums...
    0.9.9.2.tar.gz ... FAILED
    krohnkite.kwinscript ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error making: kwin-scripts-krohnkite-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
kwin-scripts-krohnkite - exit status 1

matthewq337 commented on 2026-06-04 03:14 (UTC)

@lyk fixed, thanks

lyk commented on 2026-05-28 12:53 (UTC) (edited on 2026-05-28 14:28 (UTC) by lyk)

The current PKGBUILD builds from the source tarball and calls the system tsc. This now fails on Arch because the repo package typescript is 6.x, while upstream still uses outFile in tsconfig.json.

Related Issue: https://codeberg.org/anametologin/Krohnkite/issues/32

Upstream already publishes a prebuilt .kwinscript artifact for this release:

https://codeberg.org/anametologin/Krohnkite/releases/download/0.9.9.2/krohnkite.kwinscript

I think the more AUR-friendly fix is to package that release artifact directly instead of pulling TypeScript 5 through npm/npx or patching tsconfig.json temporarily. This avoids a build-time TypeScript dependency entirely.

I tested this locally and makepkg -f succeeds.

Suggested PKGBUILD change:

diff --git a/PKGBUILD b/PKGBUILD
index aae9cdb..2294c47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,35 +8,15 @@ url="https://codeberg.org/anametologin/krohnkite"
 license=('MIT')
 arch=('any')

-makedepends=(
-  'typescript'
+source=(
+  "https://codeberg.org/anametologin/Krohnkite/releases/download/$pkgver/$_pkgname.kwinscript"
+  "https://codeberg.org/anametologin/Krohnkite/archive/$pkgver.tar.gz"
+)
+noextract=("$_pkgname.kwinscript")
+sha256sums=(
+  '42f7f66531d366c74b5fc860381da3517ccb4cdccd1f80c122fcab6e9a8fcf7e'
+  '618a5d7b6b552026b6ed4db62422f3ec82969e989d4b5d9c816c405e4924e138'
 )
-source=("https://codeberg.org/anametologin/krohnkite/archive/$pkgver.tar.gz")
-sha256sums=('618a5d7b6b552026b6ed4db62422f3ec82969e989d4b5d9c816c405e4924e138')
-
-
-build() {
-  mkdir -p pkg
-  cd "$srcdir/$_pkgname"
-
-  # krohnkite.js
-  tsc
-  install -Dm644 krohnkite.js ../pkg/contents/code/script.js
-
-  # metadata.json
-  install -Dm644 res/metadata.json ../pkg/metadata.json
-  sed -E -e 's&\$VER&'${pkgver}'&' \
-    -e 's&\$REV&'${pkgver}'&' \
-    -i ../pkg/metadata.json
-
-  # other files
-  install -Dm644 res/main.js ../pkg/contents/code/main.js
-  install -Dm644 res/config.xml ../pkg/contents/config/main.xml
-  install -Dm644 res/config.ui ../pkg/contents/ui/config.ui
-  install -Dm644 res/main.qml ../pkg/contents/ui/main.qml
-  install -Dm644 res/popup.qml ../pkg/contents/ui/popup.qml
-  install -Dm644 res/shortcuts.qml ../pkg/contents/ui/shortcuts.qml
-}

 package() {
   depends+=(
@@ -44,7 +24,8 @@ package() {
   )

   install -dm755 "$pkgdir/usr/share/kwin/scripts/$_pkgname"
-  cp -ra "pkg/." "$pkgdir/usr/share/kwin/scripts/$_pkgname/"
+  bsdtar --no-same-owner -xf "$srcdir/$_pkgname.kwinscript" \
+    -C "$pkgdir/usr/share/kwin/scripts/$_pkgname"

   install -Dm644 "$srcdir/$_pkgname/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
 }

This keeps the package aligned with the upstream release artifact and avoids depending on whichever TypeScript major version happens to be in the Arch repos.

jcruz commented on 2026-02-17 12:29 (UTC)

Thanks @matthewq337 for your work!

matthewq337 commented on 2026-02-17 05:28 (UTC)

@llamaspider @jcruz @donko3005 fixed, thanks

jcruz commented on 2026-02-15 16:48 (UTC)

Thanks llamaspider. shouldn't that be updated in the PKGBUILD by the maintainer?