void-packages/srcpkgs/granite/template

26 lines
843 B
Bash

# Template file for 'granite'
pkgname=granite
version=0.3.0
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="gobject-introspection vala-devel gtk+3-devel libgee08-devel"
depends="hicolor-icon-theme"
short_desc="GTK+3 extension providing commonly-used widgets"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://launchpad.net/granite"
license="LGPL-3"
distfiles="https://launchpad.net/granite/${version%.*}/${version%.*}/+download/granite-${version}.tar.gz"
checksum=df950dd79749213971d50316c68edadf1fb3c2151cb7d63f6a6b9edf12084ad1
granite-devel_package() {
depends="gtk+3-devel libgee08-devel ${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
}
}