void-packages/srcpkgs/gtk-layer-shell/template

30 lines
884 B
Bash

# Template file for 'gtk-layer-shell'
pkgname=gtk-layer-shell
version=0.2.0
revision=1
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=6934376b5296d079fca2c1ba6b222ec91db6bf3667142340ee2bdebfb4b69116
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
}
}