1 # Maintainer: Daurnimator <daurnimator@archlinux.org>
2 # Contributor: Andrea Feletto <andrea@andreafeletto.com>
7 pkgdesc='A dynamic tiling wayland compositor'
9 url='https://github.com/riverwm/river'
21 optdepends=('polkit: access seat through systemd-logind')
22 source=("https://github.com/riverwm/river/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.sig})
23 validpgpkeys=('5FBDF84DD2278DB2B8AD8A5286DED400DDFD7A11') # Isaac Freund <mail@isaacfreund.com>
24 sha256sums=('26c1c41a65ce3804069afad6988410515cf478d2b76303ebc699766d3d4dc69f'
30 DESTDIR="build" zig build \
32 --search-prefix /usr \
33 -Dtarget=native-linux.5.15-gnu.2.37 \
45 --search-prefix /usr \
46 -Dtarget=native-linux.5.15-gnu.2.37 \
56 cp -a build/* "$pkgdir"
58 install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
59 install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
60 install -Dm644 contrib/river.desktop -t "$pkgdir/usr/share/wayland-sessions"
62 install -d "$pkgdir/usr/share/$pkgname"
63 cp -a example "$pkgdir/usr/share/$pkgname"