33 lines
970 B
Bash
33 lines
970 B
Bash
# Template file for 'mate-menus'
|
|
pkgname=mate-menus
|
|
version=1.18.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static $(vopt_enable python)"
|
|
hostmakedepends="pkg-config intltool itstool $(vopt_if gir gobject-introspection)"
|
|
makedepends="libglib-devel $(vopt_if python python-devel)"
|
|
short_desc="MATE menu specifications"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2"
|
|
homepage="http://mate-desktop.org"
|
|
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=e62be81d1b72c3e5b14d9500a42c5628c9dba1e477b1bc5a6de380b71dd8dc0d
|
|
|
|
build_options="gir python"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir python"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|