mate-menus: fix python bindings by setting python2 explicitly

This commit is contained in:
Johannes 2019-05-28 11:53:40 +02:00 committed by Johannes
parent 1f77c40b63
commit 431c9b6bf1

View file

@ -1,11 +1,12 @@
# Template file for 'mate-menus'
pkgname=mate-menus
version=1.20.2
revision=2
revision=3
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable python)"
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"
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>"
@ -17,6 +18,10 @@ checksum=e277df3b3072c2177277644a8c7b0191cc5c3779f1b8db99ef183734d4b4c4a3
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}"