2010-04-12 13:12:09 +00:00
|
|
|
# Template file for 'gnome-menus'
|
|
|
|
pkgname=gnome-menus
|
2015-09-28 22:38:55 +00:00
|
|
|
version=3.13.3
|
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-16 17:46:38 +00:00
|
|
|
configure_args="--disable-static"
|
2015-06-20 10:54:20 +00:00
|
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
2013-03-28 15:37:09 +00:00
|
|
|
makedepends="libglib-devel"
|
2010-04-12 13:12:09 +00:00
|
|
|
short_desc="GNOME menu specifications"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-01-15 19:51:16 +00:00
|
|
|
homepage="http://www.gnome.org"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-10-02 21:41:38 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
2015-09-28 22:38:55 +00:00
|
|
|
checksum=7c446eb8ff381df52b8ba04e5886497595e84d1bc46caf7af764d894736c654e
|
2010-04-12 13:12:09 +00:00
|
|
|
|
2015-06-20 10:54:20 +00:00
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default+=" gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 13:11:12 +00:00
|
|
|
gnome-menus-devel_package() {
|
|
|
|
depends="glib-devel gnome-menus>=${version}"
|
2013-10-02 21:41:38 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-10-02 21:41:38 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2015-06-20 10:54:20 +00:00
|
|
|
if [ -n "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|