mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02:54:23 +02:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
# Contributor: Anjandev Momi <anjan@momi.ca>
|
|
# Maintainer: Anjandev Momi <anjan@momi.ca>
|
|
pkgname=creek
|
|
pkgver=0.4.3
|
|
pkgrel=0
|
|
pkgdesc="A malleable and minimalist status bar for the River compositor"
|
|
url="https://github.com/nmeum/creek"
|
|
arch="x86_64 aarch64" # limited by zig aport
|
|
license="MIT"
|
|
makedepends="zig wayland-dev wayland-protocols pixman-dev fcft-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/nmeum/creek/archive/refs/tags/v$pkgver.tar.gz"
|
|
options="!check" # no tests
|
|
|
|
# We may want other than "baseline" for other targets, when enabled by zig
|
|
case "$CARCH" in
|
|
aarch64|x86_64) _cputarget=baseline ;;
|
|
esac
|
|
|
|
build() {
|
|
zig build -Doptimize=ReleaseSafe ${_cputarget:+-Dcpu="$_cputarget"}
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 zig-out/bin/creek -t "$pkgdir/usr/bin/"
|
|
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
|
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
d5a50f015052e4de68f772aaa250da6fed106a0d6bd026e267f6013915b0a0e9cc7249c762a6f55e688af254d7e9f492370df8556feab4d374deec66e09a041d creek-0.4.3.tar.gz
|
|
"
|