# Description: Tools for monitoring system health (temperatures, voltages, fan speed, etc)
# URL: https://github.com/lm-sensors/lm-sensors
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: perl

name=lm_sensors
version=3.6.0
release=1
source=(https://github.com/lm-sensors/lm-sensors/archive/V${version//./-}/$name-$version.tar.gz)

build () {
  cd lm-sensors-${version//./-}

  make install PREFIX=/usr \
    ETCDIR=/usr/etc \
    MANDIR=/usr/share/man \
    DESTDIR=$PKG
}
