# Description: Day/night gamma adjustments for Wayland
# URL: https://sr.ht/~kennylevinsen/wlsunset/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: wayland-protocols

name=wlsunset
version=0.3.0
release=1
source=(https://git.sr.ht/~kennylevinsen/wlsunset/archive/$version.tar.gz)
renames=($name-$version.tar.gz)

build() {
  meson setup $name-$version build \
    --prefix=/usr \
    --buildtype=plain \
    --wrap-mode nodownload \
    -D b_lto=true \
    -D b_pie=true
  meson compile -C build
  DESTDIR=$PKG meson install -C build
}
