void-packages/srcpkgs/xfce4-sensors-plugin/template
2021-11-20 21:29:31 +01:00

20 lines
876 B
Bash

# Template file for 'xfce4-sensors-plugin'
pkgname=xfce4-sensors-plugin
version=1.4.2
revision=1
build_style=gnu-configure
configure_args="--with-locales-dir=/usr/share/locale --disable-static"
hostmakedepends="pkg-config intltool"
makedepends="libsensors-devel xfce4-panel-devel libnotify-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Xfce hardware sensors plugin"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=da90f12e6ae995bcd1c81be35479a7a9d32308c65ecd64e568ba8c9592d39fcb
if [ "$CROSS_BUILD" ]; then
# Cannot detect these when cross compiling
configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"
fi