void-packages/srcpkgs/mate-panel/template

47 lines
1.4 KiB
Bash
Raw Normal View History

2014-08-31 19:56:31 +02:00
# Template file for 'mate-panel'
pkgname=mate-panel
2014-09-30 06:38:47 +02:00
version=1.8.1
revision=1
2014-08-31 19:56:31 +02:00
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static --disable-schemas-compile
--enable-network-manager $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool itstool"
makedepends="gtk+-devel libcaja-devel libwnck2-devel libcanberra-devel libSM-devel
libmateweather-devel librsvg-devel libXau-devel libmarco-devel mate-menus-devel
dbus-glib-devel mate-desktop-devel NetworkManager-devel"
depends="caja dconf marco mate-session-manager"
short_desc="The MATE Panel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-08-31 19:56:31 +02:00
license="LGPL-3"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz"
2014-09-30 06:38:47 +02:00
checksum=d53d1546577db3e45ce6b46b4a40b2edc066781cc1e864eef47ad07b0fdb3f19
2014-08-31 19:56:31 +02:00
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libmate-panel_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
libmate-panel-devel_package() {
short_desc+=" - development files"
depends="gtk+-devel lib${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}