vp-build/srcpkgs/xfce4-sensors-plugin/template

22 lines
965 B
Bash

# Template file for 'xfce4-sensors-plugin'
pkgname=xfce4-sensors-plugin
version=1.4.3
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"
changelog="https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/raw/master/NEWS"
distfiles="https://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=171c0235f70c65f0ffee587e960d9da79b284855df22130239eac26272ec06c9
if [ "$CROSS_BUILD" ]; then
# Cannot detect these when cross compiling
configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl"
fi