# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=fnott
pkgver=1.7.0
pkgrel=0
pkgdesc="Keyboard driven and lightweight Wayland notification daemon"
url="https://codeberg.org/dnkl/fnott"
license="MIT"
arch="all"
makedepends="
	meson
	pixman-dev
	libpng-dev
	wayland-protocols
	wayland-dev
	dbus-dev
	tllist-dev
	fcft-dev
	scdoc
	"
subpackages="$pkgname-doc $pkgname-zsh-completion"
source="$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/fnott/archive/$pkgver.tar.gz"
builddir="$srcdir/fnott"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
f6b6ea43a7cd4c4974ba4e5da82861538f3fdc9f3a77a82e248e61f10b85e41623edb9d6d82ca2d3652b12e988bb48dacc2e6d69429e596d8e903fbb24c82a27  fnott-1.7.0.tar.gz
"
