diff --git a/srcpkgs/mate-menus/template b/srcpkgs/mate-menus/template index 1b238018e85..0fb93b4214b 100644 --- a/srcpkgs/mate-menus/template +++ b/srcpkgs/mate-menus/template @@ -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 " @@ -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}"