33 lines
939 B
Bash
33 lines
939 B
Bash
# Template file for 'gnome-menus'
|
|
pkgname=gnome-menus
|
|
version=3.32.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
|
makedepends="libglib-devel"
|
|
short_desc="GNOME menu specifications"
|
|
maintainer="Rasmus Thomsen <oss@cogitri.dev>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/gnome-menus"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=c850c64b2074265fe59e099a340b8689cf3dd4658dc9feddd2ab5e95f1a74b74
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default+=" gir"
|
|
fi
|
|
|
|
gnome-menus-devel_package() {
|
|
depends="glib-devel gnome-menus>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|