Date: Monday, January 23, 2023 @ 15:05:29
Author: daurnimator
Revision: 1387943
archrelease: copy trunk to community-x86_64
Added:
river/repos/community-x86_64/
river/repos/community-x86_64/PKGBUILD
(from rev 1387942, river/trunk/PKGBUILD)
river/repos/community-x86_64/keys/
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
Copied: river/repos/community-x86_64/PKGBUILD (from rev 1387942,
river/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2023-01-23 15:05:29 UTC (rev 1387943)
@@ -0,0 +1,64 @@
+# Maintainer: Daurnimator <[email protected]>
+# Contributor: Andrea Feletto <[email protected]>
+
+pkgname=river
+pkgver=0.2.3
+pkgrel=1
+pkgdesc='A dynamic tiling wayland compositor'
+arch=('x86_64')
+url='https://github.com/riverwm/river'
+license=('GPL3')
+depends=('libevdev'
+ 'libxkbcommon'
+ 'mesa'
+ 'pixman'
+ 'wayland'
+ 'wlroots'
+ 'xorg-xwayland')
+makedepends=('scdoc'
+ 'wayland-protocols'
+ 'zig')
+optdepends=('polkit: access seat through systemd-logind')
+source=("https://github.com/riverwm/river/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.sig})
+validpgpkeys=('5FBDF84DD2278DB2B8AD8A5286DED400DDFD7A11') # Isaac Freund
<[email protected]>
+sha256sums=('7acdd2b929e16a20006b4baf1f29e7a8dc7f70cf5747e1503a610a90d1637132'
+ 'SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ DESTDIR="build" zig build \
+ --prefix /usr \
+ --search-prefix /usr \
+ -Dtarget=native-linux.5.15 \
+ -Dcpu=baseline \
+ -Dpie \
+ -Drelease-safe \
+ -Dxwayland
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+
+ zig build test \
+ --prefix /usr \
+ --search-prefix /usr \
+ -Dtarget=native-linux.5.15 \
+ -Dcpu=baseline \
+ -Dpie \
+ -Drelease-safe \
+ -Dxwayland
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ cp -a build/* "$pkgdir"
+
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm644 contrib/river.desktop -t "$pkgdir/usr/share/wayland-sessions"
+
+ install -d "$pkgdir/usr/share/$pkgname"
+ cp -a example "$pkgdir/usr/share/$pkgname"
+}