void-packages/srcpkgs/mate-applets/template

34 lines
1.1 KiB
Bash

# Template file for 'mate-applets'
pkgname=mate-applets
version=1.24.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-ipv6"
hostmakedepends="glib-devel intltool itstool libxslt pkg-config polkit"
makedepends="NetworkManager-devel gtksourceview-devel libSM-devel libgtop-devel
libmate-panel-devel libmateweather-devel libnotify-devel libwnck-devel
mate-desktop-devel mate-icon-theme mate-settings-daemon-devel polkit-devel
upower-devel wireless_tools-devel"
depends="mate-icon-theme mate-applets-data-${version}_${revision}"
short_desc="Applets for MATE panel"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=b84feb195b3deb8ef7a973d6e66ba30f0c411cf2e9af1a76afa8903d5655a35a
case "$XBPS_TARGET_MACHINE" in
i686|x86_64)
# libcpupower is x86 specific.
makedepends+=" libcpupower-devel"
;;
esac
mate-applets-data_package() {
archs=noarch
short_desc+=" - architecture independent data"
pkg_install() {
vmove usr/share
}
}