29 lines
953 B
Bash
29 lines
953 B
Bash
# Template file for 'granite'
|
|
pkgname=granite
|
|
version=5.1.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config gobject-introspection vala-devel libgee08-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://github.com/elementary/granite"
|
|
license="LGPL-3.0-or-later"
|
|
distfiles="https://github.com/elementary/granite/archive/${version}.tar.gz"
|
|
checksum=4483399c62bf4cf5c26a6b708736b2b80caae8d40a0452be45548f7e8f23e0ed
|
|
|
|
nocross="cross-compilation doesn't create gir- files, breaking applications that depend on it like pantheon-calculator"
|
|
|
|
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
|
|
}
|
|
}
|