Package Details: river-levee-git 0.1.3.r0.g4fa3228-1

Git Clone URL: https://aur.archlinux.org/river-levee-git.git (read-only, click to copy)
Package Base: river-levee-git
Description: Statusbar for the river wayland compositor
Upstream URL: https://sr.ht/~andreafeletto/levee
Keywords: river statusbar wayland wlroots
Licenses: MIT
Conflicts: river-levee
Provides: levee
Submitter: p00f
Maintainer: None
Last Packager: andreafeletto
Votes: 1
Popularity: 0.000000
First Submitted: 2022-04-01 14:19 (UTC)
Last Updated: 2023-04-13 11:39 (UTC)

Latest Comments

p00f commented on 2022-06-12 12:13 (UTC)

Done :)

andreafeletto commented on 2022-06-12 12:08 (UTC)

Yes, I can maintain the package if you don't want to do it anymore. No problems whatsoever.

p00f commented on 2022-06-12 11:52 (UTC)

andreafeletto: done. Do you want to become co-maintainer or the sole maintainer of this package?

andreafeletto commented on 2022-06-11 21:28 (UTC)

Hello, I've changed the submodule for fcft from https://git.sr.ht/~andreafeletto/zig-fcft to https://git.sr.ht/~novakane/zig-fcft. Could you please update the PKGBUILD accordingly? Thanks.

p00f commented on 2022-05-13 05:24 (UTC)

andreafeletto: done, thanks

andreafeletto commented on 2022-05-12 23:38 (UTC)

Hello. Thanks for packaging levee :)

There are some things missing in this PKGBUILD so I've taken the liberty of preparing a diff:

diff --git a/PKGBUILD b/PKGBUILD
index 0ad0ce7..172e487 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,58 @@
+
 # Maintainer: Chinmay Dalal <w5vwg64uy@relay.firefox.com>
+
 pkgname=river-levee-git
-pkgver=r23.7c8a37d
+_pkgname=levee
+pkgver=0.1.0.r7.g3e383f3
 pkgrel=1
 pkgdesc="Statusbar for the river wayland compositor"
 arch=('x86_64')
-url="https://sr.ht/~andreafeletto/levee/"
-makedepends=("zig")
-source=($pkgname::"git+https://git.sr.ht/~andreafeletto/levee")
-sha256sums=('SKIP')
+url="https://sr.ht/~andreafeletto/levee"
 license=('MIT')
+depends=('wayland' 'wayland-protocols' 'fcft' 'pixman' 'libpulse')
+makedepends=('zig' 'git')
+provides=('levee')
+conflicts=('river-levee')
+source=(
+    "git+https://git.sr.ht/~andreafeletto/$_pkgname"
+    'git+https://github.com/ifreund/zig-wayland'
+    'git+https://github.com/ifreund/zig-pixman'
+    'git+https://git.sr.ht/~andreafeletto/zig-fcft'
+    'git+https://git.sr.ht/~andreafeletto/zig-udev'
+    'git+https://github.com/Hejsil/zig-clap'
+)
+sha256sums=(
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    'SKIP'
+    'SKIP'
+)
+
+prepare() {
+   cd "$srcdir/$_pkgname"
+   git submodule init
+   for dep in wayland pixman fcft udev clap; do
+       git config "submodule.deps/zig-$dep.url" "$srcdir/zig-$dep"
+   done
+   git submodule update
+}

 pkgver() {
-    cd "$pkgname"
-    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+    cd "$srcdir/$_pkgname"
+    git describe --long | sed 's/v//;s/-/.r/;s/-/./'
 }

 build() {
-    cd "$srcdir/$pkgname"
-    git submodule update --init --recursive
+    cd "$srcdir/$_pkgname"
     zig build -Drelease-safe
 }


 package() {
-    cd "$srcdir/$pkgname"
-    install -Dm755 "$srcdir/$pkgname/zig-out/bin/levee" "$pkgdir/usr/bin/levee"
+    cd "$srcdir/$_pkgname"
+    DESTDIR="$pkgdir" zig build -Drelease-safe --prefix '/usr'
+    install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname"
+    install -Dm644 README.md -t "$pkgdir/usr/share/doc/$_pkgname"
 }

dogknowsnx commented on 2022-04-01 15:18 (UTC)

Great choice of name, btw!