# Template file for 'hyprpicker'
pkgname=hyprpicker
version=0.1.1
revision=1
build_style=cmake
hostmakedepends="pkg-config cmake ninja wayland-devel"
makedepends="wayland-devel wayland-protocols cairo-devel pango-devel libjpeg-turbo-devel wlroots-devel"
short_desc="wlroots-compatible Wayland color picker that does not suck"
maintainer="RAR27 <rar27@tuta.io>"
license="BSD-3-Clause"
homepage="https://github.com/hyprwm/hyprpicker"
changelog="https://github.com/hyprwm/hyprpicker/releases"
distfiles="https://github.com/hyprwm/hyprpicker/archive/refs/tags/v${version}.tar.gz"
checksum=f6a5e57dc69e3b0499a34f4533583bd7d7770f5a1a9834f521b532f0d1ec26e0

pre_build() {
	make protocols
}

do_install() {
	vbin build/hyprpicker
	vman doc/hyprpicker.1
	vlicense LICENSE
}
