33 lines
923 B
Bash
33 lines
923 B
Bash
# Template file for 'granite'
|
|
pkgname=granite
|
|
version=5.2.4
|
|
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 <camerontnorman@gmail.com>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://github.com/elementary/granite"
|
|
distfiles="https://github.com/elementary/granite/archive/${version}.tar.gz"
|
|
checksum=45349b24f3f5e9216354894f5598104e08d72992d81a41dadc373602853419fb
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl|x86_64-musl) ;;
|
|
*-musl) broken="gobject introspection" ;;
|
|
*) ;;
|
|
esac
|
|
|
|
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
|
|
}
|
|
}
|