| Name |
lm_sensors |
| Description |
Collection of user space tools for general SMBus access and hardware monitoring |
| Version |
1:3.6.2-1 |
| Package Base |
lm_sensors |
| Homepage |
https://hwmon.wiki.kernel.org/lm_sensors |
| Maintainers |
['Laurent Carlier <lordheavym@archlinux.org>', 'Laurent Carlier <lordheavym@gmail.com>'] |
| Contributors |
['Eric Bélanger'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/lm_sensors |
| Sources |
['healthd', 'healthd.conf', 'healthd.service', 'lm_sensors-3.6.2.tar.gz::https://github.com/hramrach/lm-sensors/archive/refs/tags/V3-6-2.tar.gz', 'sensord.conf'] |
| Dependencies |
['bash', 'glibc'] |
| Optional-Dependencies |
['perl', 'rrdtool'] |
| Build-Dependencies |
['rrdtool', 'perl'] |
| Provides |
['libsensors.so'] |
| Builddate |
14-05-2025 07:23:35 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['GPL-2.0-only OR LGPL-2.1-only'] |
| Hash |
5363304255a506cf71e1ed4f0464166e5f2aad6f0ae444fe08cafd8c83bf11ff |
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Eric Bélanger
pkgname=lm_sensors
pkgver=3.6.2
_pkgver=${pkgver//./-}
pkgrel=1
epoch=1
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring"
arch=('x86_64')
url="https://github.com/hramrach/lm-sensors"
license=('GPL-2.0-only OR LGPL-2.1-only')
depends=('bash' 'glibc')
makedepends=('rrdtool' 'perl')
optdepends=('rrdtool: for logging with sensord'
'perl: for sensor detection and configuration convert')
provides=('libsensors.so')
backup=('etc/sensors3.conf' 'etc/healthd.conf' 'etc/conf.d/sensord')
source=(lm_sensors-${pkgver}.tar.gz::${url}/archive/refs/tags/V${_pkgver}.tar.gz
healthd healthd.conf healthd.service sensord.conf)
sha256sums=('c6a0587e565778a40d88891928bf8943f27d353f382d5b745a997d635978a8f0'
'0ac9afb2a9155dd74ab393756ed552cd542dde1081149beb2ab4ec7ff55b8f4a'
'5d17a366b175cf9cb4bb0115c030d4b8d91231546f713784a74935b6e533da9f'
'2638cd363e60f8d36bcac468f414a6ba29a1b5599f40fc651ca953858c8429d7'
'23bebef4c250f8c0aaba2c75fd3d2c8ee9473cc91a342161a9f5b3a34ddfa9e5')
validpgpkeys=('7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A')
prepare() {
cd lm-sensors-$_pkgver
sed -i 's|/etc/sysconfig|/etc/conf.d|' prog/{detect/sensors-detect,init/{sensord,lm_sensors}.service}
sed -i 's/EnvironmentFile=/EnvironmentFile=-/' prog/init/lm_sensors.service
}
build() {
cd lm-sensors-$_pkgver
make PREFIX=/usr
}
package() {
cd lm-sensors-$_pkgver
make PROG_EXTRA=sensord BUILD_STATIC_LIB=0 \
PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man DESTDIR="${pkgdir}" install
install -D -m755 "${srcdir}/healthd" "${pkgdir}/usr/bin/healthd"
install -D -m644 "${srcdir}/healthd.conf" "${pkgdir}/etc/healthd.conf"
install -D -m644 "${srcdir}/sensord.conf" "${pkgdir}/etc/conf.d/sensord"
install -D -m644 "${srcdir}/healthd.service" "${pkgdir}/usr/lib/systemd/system/healthd.service"
install -D -m644 prog/init/*.service "${pkgdir}/usr/lib/systemd/system/"
}