void-packages/srcpkgs/granite7/template

28 lines
818 B
Bash

# Template file for 'granite7'
pkgname=granite7
version=7.0.0
revision=1
build_style=meson
build_helper="gir"
hostmakedepends="pkg-config gettext vala"
makedepends="gtk4-devel libgee08-devel"
depends="hicolor-icon-theme"
short_desc="GTK4 widget library for elementary OS"
maintainer="Cameron Nemo <cam@nohom.org>"
license="LGPL-3.0-or-later"
homepage="https://github.com/elementary/granite"
distfiles="https://github.com/elementary/granite/archive/refs/tags/${version}.tar.gz"
checksum=b3e77a1ca954d68f074cfad08ec65db12a56a80460e3c031c41d9f900f0314e3
granite7-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/vala
vmove usr/share/gir-1.0
}
}