1# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
2# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
3pkgname=creek
4pkgver=0.4.2_git20241020
5_commit=034105946ae23b1d1e9544adef4bee8e72e56c1d
6pkgrel=0
7pkgdesc="A small screenlocker for Wayland compositors"
8url="https://github.com/nmeum/creek"
9arch="aarch64 x86_64" # blocked by zig
10license="MIT"
11makedepends="zig wayland-protocols wayland-dev fcft-dev pixman-dev"
12options="net"
13source="$pkgname-$pkgver.tar.gz::https://github.com/nmeum/creek/archive/$_commit.tar.gz"
14builddir="$srcdir/$pkgname-$_commit"
15
16build() {
17 DESTDIR="$builddir/out" zig build \
18 --prefix /usr \
19 -Doptimize=ReleaseSafe \
20 -Dpie \
21 -Dcpu=baseline \
22 install
23}
24
25package() {
26 mkdir -p "$pkgdir"
27 cp -r out/* "$pkgdir"
28}
29
30sha512sums="
31f96f131b677cb5ff7ecbd3d55186e788dd75fb35d1ea0f1de4ac06e148008ce6f4fc701cf406bf4741d159d7559e36da5a3b87a7a0297a39e6da68c7cc1e3fb5 creek-0.4.2_git20241020.tar.gz
32"