void-packages/srcpkgs/xfce4-sensors-plugin/template

21 lines
845 B
Bash

# Template file for 'xfce4-sensors-plugin'
pkgname=xfce4-sensors-plugin
version=1.2.6
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
makedepends="libsensors-devel libxfce4ui-devel xfce4-panel-devel libnotify-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="XFCE hardware sensors plugin"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
license="GPL-2"
distfiles="http://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0
if [ -n "$CROSS_BUILD" ]; then
# Cannot detect these when cross compiling
configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"
fi