void-packages/srcpkgs/psensor/template

28 lines
921 B
Bash

# Template file for 'psensor'
pkgname=psensor
version=1.2.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config glib-devel"
makedepends="gtk+3-devel udisks2-devel libgtop-devel json-c-devel
libsensors-devel libatasmart-devel libcurl-devel libnotify-devel
libappindicator-devel libmicrohttpd-devel"
depends="lm_sensors"
short_desc="Graphical hardware temperature monitor for Linux"
maintainer="Foxlet <foxlet@furcode.co>"
license="GPL-2.0-only"
homepage="https://wpitchoune.net/psensor"
changelog="https://gitlab.com/jeanfi/psensor/-/raw/master/NEWS"
distfiles="https://wpitchoune.net/${pkgname}/files/${pkgname}-${version}.tar.gz"
checksum=084f785d169f533d3010e50c5933436ed427afc70d41740b762f1db5034833ab
disable_parallel_build=yes
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi
post_extract() {
vsed -e 's/-Werror//g' -i tests/Makefile.in src/lib/Makefile.in src/server/Makefile.in
}