void-packages/srcpkgs/gtk-layer-shell/template
Isaac Freund 72c9986a1d gtk-layer-shell: revbump for gtk+3
Also enable building tests if needed.
2020-12-12 03:01:15 -03:00

33 lines
953 B
Bash

# Template file for 'gtk-layer-shell'
pkgname=gtk-layer-shell
version=0.5.1
revision=2
build_style=meson
build_helper="gir"
hostmakedepends="gobject-introspection pkg-config wayland-devel"
makedepends="gtk+3-devel wayland-devel"
short_desc="Library to create panels and other desktop components for Wayland"
maintainer="travankor <travankor@tuta.io>"
license="LGPL-3.0-or-later, MIT"
homepage="https://github.com/wmww/gtk-layer-shell"
distfiles="https://github.com/wmww/gtk-layer-shell/archive/v${version}.tar.gz"
checksum=d77e42dff69e2cf1eee4489fb7db465d4e33be48e67ee0ca653238de0ab882ba
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtests=true"
fi
post_install() {
vlicense LICENSE_MIT.txt
}
gtk-layer-shell-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}