Package Details: rill-git 0.6.0.r1.g81f3f39-1

Git Clone URL: https://aur.archlinux.org/rill-git.git (read-only, click to copy)
Package Base: rill-git
Description: A minimalist scrolling window manager for River
Upstream URL: https://codeberg.org/lzj15/rill
Keywords: river wayland
Licenses: MIT
Conflicts: rill
Provides: rill
Submitter: ParadiseofMagic
Maintainer: ParadiseofMagic
Last Packager: ParadiseofMagic
Votes: 2
Popularity: 1.29
First Submitted: 2026-02-20 19:02 (UTC)
Last Updated: 2026-05-14 12:01 (UTC)

Dependencies (10)

Required by (0)

Sources (3)

Latest Comments

tskaar commented on 2026-05-13 20:57 (UTC) (edited on 2026-05-13 20:57 (UTC) by tskaar)

@ParadiseofMagic;

Do you mind updating the pkgver() function, since it currently only uses the commit hash, AUR helpers will be "confused" whether there are any new commits or not.

From ArchWiki/VCS_package_guidelines/git you can use the one mentioned:

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

Resulting in 0.6.0.r1.g81f3f39 at the time of writing.

Cheers!

ParadiseofMagic commented on 2026-05-07 19:56 (UTC) (edited on 2026-05-07 19:56 (UTC) by ParadiseofMagic)

@tskaar It seems the whole "v" thing was from me making that typo, the package should be okay now and the noextract seems to be a remnant from pre Zig-0.16(I copied it from the River package).

tskaar commented on 2026-05-07 13:31 (UTC)

@ParadiseofMagic: There are some issues with your latest changes:

  1. Typo in sources: "ref" -> "refs"
  2. Incorrect checksums
  3. The "v" for zig-wayland isn't there in my case (for the --fork case)
  4. nit: I don't think you need the "noextract" option here?
  5. nit: git should be a makedepend

I got a clean Chroot build with the following diff:

diff --git a/PKGBUILD b/PKGBUILD
index 218ed36..af3e86c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,17 +12,17 @@ url="https://codeberg.org/lzj15/rill"
 license=('MIT')
 depends=('wayland' 'river' 'libxkbcommon')
 makedepends=('zig'
-        'wayland-protocols')
+        'wayland-protocols'
+        'git')
 install=rill.install
 source=(git+$url.git
-           zig-wayland-$_zigwlver.tar.gz::https://github.com/ifreund/zig-wayland/archive/ref/tags/v$_zigwlver.tar.gz
+       zig-wayland-$_zigwlver.tar.gz::https://github.com/ifreund/zig-wayland/archive/refs/tags/v$_zigwlver.tar.gz
    zig-xkbcommon-$_xkbver.tar.gz::https://github.com/ifreund/zig-xkbcommon/archive/refs/tags/v$_xkbver.tar.gz
        )
 sha256sums=('SKIP'
-            '1235629f55dfb12aea85c8d5cf1b7138bdfb3262966e66a36260714a9a9ea0cd'
+            'd9804e50f9fa549ad0aed751fbbb5fbc52110d57971b59ecab34ff11f08b0230'
             'bff568b83a19630dc7cb27950e03337925d0d71b4fb0676bc6ebe2d31d1db032')

-noextract=("${source[@]:1}")
 provides=("$_pkgname")
 conflicts=("$_pkgname")
 optdepends=('alacritty: Default terminal emulator'
@@ -45,10 +45,8 @@ build() {
     -Dtarget=native-linux.6.6-gnu.2.40 \
     -Dcpu=baseline \
     -Doptimize=ReleaseSafe \
-    --fork="$srcdir/zig-wayland-v${_zigwlver}" \
+    --fork="$srcdir/zig-wayland-${_zigwlver}" \
     --fork="$srcdir/zig-xkbcommon-${_xkbver}"
-
-  # For some reason zig-wayland doesn't get renamed properly and has a v.
 }
 package() {
   cd "$srcdir/$_pkgname"

Cheers!

tskaar commented on 2026-05-07 12:37 (UTC)

@ParadiseofMagic: Yeah, was just about to comment;

I had to delete the zig-wayland.zip file to force it re-download the new one, and was gonna propose to use versioned names to avoid this issue, but it seems you found the same solution :)

ParadiseofMagic commented on 2026-05-07 12:35 (UTC)

False alarm, I managed to fix it there was some weird file naming shenanigans.

ParadiseofMagic commented on 2026-05-07 12:12 (UTC) (edited on 2026-05-07 12:16 (UTC) by ParadiseofMagic)

@tskaar have you been able to compile successfully commit b063485? Ever since Zig 0.16+, I keep getting this error. I first tried zig-git commit 0.17.0.r260.ga794287573a8 back when Zig 0.16 wasn't in official repos, now that it is in offical repositories I still get this error whenever I try to compile this.

My PKGBUILD is very similar to yours, all I have changed is the source of Zig-Wayland because the Codeberg one hasn't been working for a while.

Error in question: https://termbin.com/iyn1

tskaar commented on 2026-05-03 15:17 (UTC) (edited on 2026-05-03 15:18 (UTC) by tskaar)

Compiling with Zig v0.16 (latest commit on Rill) requires some changes due to upstream Build Changes

I got it working with two changes;

  1. Update zig-wayland to v0.6.0 (Zig v0.16 support)
  2. Change all of the global cache with the new fork flag instead

Here is the diff I used:

diff --git a/PKGBUILD b/PKGBUILD
index 16cd10e..44d5e33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
 pkgname=rill-git
 _pkgname=rill
 pkgdesc="A minimalist scrolling window manager for River"
-pkgver=fde2189
-pkgrel=7
+pkgver=336f9e0
+pkgrel=1
 arch=('x86_64' 'aarch64')
 url="https://codeberg.org/lzj15/rill"
 license=('MIT')
@@ -12,11 +12,11 @@ depends=('wayland' 'river' 'libxkbcommon')
 makedepends=('zig' 'wayland-protocols')
 install=rill.install
 source=(git+$url.git
-           zig-wayland.zip::https://codeberg.org/ifreund/zig-wayland/archive/v0.5.0.zip
+       zig-wayland.zip::https://codeberg.org/ifreund/zig-wayland/archive/v0.6.0.zip
    zig-xkbcommon.tar.gz::https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.4.0.tar.gz
        )
 sha256sums=('SKIP'
-            '816d6d9fffeb596244e5467b60f5b21575ba779e441a27dcc63ce5f6a5a09841'
+            '7705dc6f95d370e51a84ab7874fb664450ac9d2e3f5e619cce8e12d18014642b'
             'e6df77d511cf9402f6ac08455c8d1fb727b6c3d66191e246671f62e5db083c49')

 noextract=("${source[@]:1}")
@@ -32,22 +32,19 @@ pkgver() {
   cd "$srcdir/$_pkgname"
   printf "$(git rev-parse --short=7 HEAD)"
 }
-prepare(){
-  zig fetch --global-cache-dir ./zig-global-cache "./${source[1]%%::*}"
-  zig fetch --global-cache-dir ./zig-global-cache "./${source[2]%%::*}"
-}
+
 build() {
   cd "$srcdir/$_pkgname"
   DESTDIR="build" zig build \
     --summary all \
     --prefix /usr \
     --search-prefix /usr \
-    --global-cache-dir ../zig-global-cache \
-    --system ../zig-global-cache/p \
     --build-id=sha1 \
     -Dtarget=native-linux.6.6-gnu.2.40 \
     -Dcpu=baseline \
-    -Doptimize=ReleaseSafe
+    -Doptimize=ReleaseSafe \
+    --fork=$srcdir/zig-wayland \
+    --fork=$srcdir/zig-xkbcommon
 }
 package() {
   cd "$srcdir/$_pkgname"

ParadiseofMagic commented on 2026-04-13 19:55 (UTC)

@yipfluoric you are correct! I just checked build.zig.zon and it has zig-xkbcommon in it now, this commit should have fixed it.

yipfluoric commented on 2026-04-13 14:51 (UTC) (edited on 2026-04-13 14:52 (UTC) by yipfluoric)

Still not building out of box, It seems to need the zig libxkbcommon bindings found at https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.4.0.zip in zig's global cache. Only successfully built after i added that manually.

neo64yt commented on 2026-04-11 05:37 (UTC)

This package now requires libxkbcommon