28 lines
946 B
Bash
28 lines
946 B
Bash
# Template file for 'granite'
|
|
pkgname=granite
|
|
version=0.3.1
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config gobject-introspection vala-devel"
|
|
makedepends="gtk+3-devel libgee08-devel"
|
|
depends="hicolor-icon-theme"
|
|
short_desc="GTK+3 extension providing commonly-used widgets"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://launchpad.net/granite"
|
|
license="LGPL-3"
|
|
distfiles="https://launchpad.net/granite/${version%.*}/${version}/+download/granite-${version}.tar.xz"
|
|
checksum=8ec1d61f9aba75f1b3a745e721288b0dfb34cb11d1307be80cef7b0571c2dec6
|
|
|
|
nocross="error: Package 'gee-0.8' not found in specified Vala API directories or GObject-Introspection GIR directories"
|
|
|
|
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
|
|
}
|
|
}
|