void-packages/srcpkgs/granite/template
2020-05-05 20:47:56 +02:00

27 lines
803 B
Bash

# Template file for 'granite'
pkgname=granite
version=5.4.0
revision=1
build_style=meson
build_helper="gir"
hostmakedepends="pkg-config vala"
makedepends="gtk+3-devel libgee08-devel"
depends="hicolor-icon-theme"
short_desc="GTK3 widget library for elementary OS"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="LGPL-3.0-or-later"
homepage="https://github.com/elementary/granite"
distfiles="https://github.com/elementary/granite/archive/${version}.tar.gz"
checksum=8194031cac3b87d84a3fab9c30270485ce73f8b8ec23f26c9152b6859c8a18fd
granite-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
}
}