# Template file for 'mako'
pkgname=mako
version=1.6
revision=2
build_style=meson
configure_args="-Dicons=enabled -Dman-pages=enabled -Dzsh-completions=true
 -Dfish-completions=true -Dwerror=false"
hostmakedepends="pkg-config scdoc wayland-devel wayland-protocols"
makedepends="wayland-devel wayland-protocols pango-devel cairo-devel
 basu-devel gdk-pixbuf-devel"
short_desc="Lightweight Wayland notification daemon"
maintainer="Emerson Ferreira <me@skrps.me>"
license="MIT"
homepage="https://wayland.emersion.fr/mako/"
distfiles="https://github.com/emersion/mako/archive/v${version}.tar.gz"
checksum=9f43cba9e1b43c69be8c9e4a79c358b3cd22153ca3ffb8bf0ee7aa30c59b2fc2

conf_files="/etc/apparmor.d/local/fr.emersion.Mako"

post_install() {
	vlicense LICENSE
	vinstall contrib/apparmor/fr.emersion.Mako 644 etc/apparmor.d
	vmkdir etc/apparmor.d/local
	touch ${DESTDIR}/etc/apparmor.d/local/fr.emersion.Mako
}
