# Template file for 'pantheon-screenshot'
pkgname=pantheon-screenshot
version=6.0.2
revision=1
wrksrc="screenshot-${version}"
build_style=meson
hostmakedepends="desktop-file-utils glib-devel gettext pkg-config vala"
makedepends="granite-devel libcanberra-devel libhandy1-devel"
depends="desktop-file-utils gdk-pixbuf hicolor-icon-theme"
short_desc="Screenshot tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-only"
homepage="https://github.com/elementary/screenshot-tool"
distfiles="https://github.com/elementary/screenshot-tool/archive/${version}.tar.gz"
checksum=af1d67b196a22af529190f593183ff2eebad51a1329be7279cddb7dc0ce406f4

post_install() {
	ln -s io.elementary.screenshot-tool "$DESTDIR"/usr/bin/"$pkgname"
}
