# Template file for 'hyprpicker'
pkgname=hyprpicker
version=0.2.0
revision=1
build_style=cmake
hostmakedepends="pkg-config wayland-devel"
makedepends="wayland-devel wayland-protocols cairo-devel pango-devel libjpeg-turbo-devel wlroots-devel libglvnd-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=fa1b0c29682f5ede5a03d754770d152f38d869bc1faa300564680cef2de0758a

pre_build() {
	make protocols
}

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