48 lines
1.4 KiB
Bash
48 lines
1.4 KiB
Bash
# Template file for 'mate-panel'
|
|
pkgname=mate-panel
|
|
version=1.20.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-schemas-compile
|
|
$(vopt_enable gir introspection)"
|
|
hostmakedepends="glib-devel intltool itstool pkg-config
|
|
$(vopt_if gir 'gobject-introspection')"
|
|
makedepends="dbus-glib-devel libSM-devel libcaja-devel libcanberra-devel
|
|
libmarco-devel libmateweather-devel librsvg-devel libwnck-devel
|
|
mate-desktop-devel mate-menus-devel"
|
|
depends="caja marco mate-session-manager"
|
|
short_desc="The MATE Panel"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://mate-desktop.org"
|
|
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=ceb56d7de37c162e3671e3bf061753d0af3aa3b8e477b04ddb90301a9ab6e856
|
|
|
|
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+3-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
|
|
}
|
|
}
|