36 lines
1 KiB
Bash
36 lines
1 KiB
Bash
# Template file for 'mate-menus'
|
|
pkgname=mate-menus
|
|
version=1.22.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--disable-static $(vopt_enable python)"
|
|
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)
|
|
$(vopt_if python python)"
|
|
makedepends="libglib-devel $(vopt_if python python-devel)"
|
|
short_desc="MATE menu specifications"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
|
homepage="https://mate-desktop.org"
|
|
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=acec93a66154fdbd78404680fca5a99112085cb99d7c43022b010527dc9a6ad2
|
|
|
|
build_options="gir python"
|
|
build_options_default="gir python"
|
|
|
|
pre_configure() {
|
|
export PYTHON=/usr/bin/python2
|
|
}
|
|
|
|
mate-menus-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|