From f8d1d319d2e5d53c26624adab41f02747c502f14 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 8 Jun 2017 17:14:17 +0000
Subject: lm-sensors: update to 3.4.0

---
 abs/extra/lm_sensors/PKGBUILD | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/abs/extra/lm_sensors/PKGBUILD b/abs/extra/lm_sensors/PKGBUILD
index 78f622e..43c813e 100644
--- a/abs/extra/lm_sensors/PKGBUILD
+++ b/abs/extra/lm_sensors/PKGBUILD
@@ -2,8 +2,8 @@
 # Maintainer: Eric Bélanger <eric@archlinux.org>
 
 pkgname=lm_sensors
-pkgver=3.3.5
-pkgrel=1
+pkgver=3.4.0
+pkgrel=2
 pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring"
 arch=('i686' 'x86_64')
 url="http://www.lm-sensors.org/"
@@ -12,31 +12,31 @@ depends=('perl' 'sysfsutils')
 makedepends=('rrdtool')
 optdepends=('rrdtool: for logging with sensord')
 backup=('etc/sensors3.conf' 'etc/healthd.conf' 'etc/conf.d/sensord')
-source=(http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-${pkgver}.tar.bz2{,.sig}
+source=($pkgname-$pkgver::https://github.com/groeck/lm-sensors/archive/V${pkgver//\./-}.tar.gz
 	healthd healthd.conf healthd.service sensord.conf
         lm_sensors-fancontrol.patch)
-sha1sums=('179989a52bae8f01ba8ed77e8a15af6ec653d89e'
-          'SKIP'
+sha1sums=('4a9026e4db894c98ee7cea0bec1188108e415f71'
           '1c91ae403d3cd02b6177ad1f1b2f2c3a7a3257f5'
           '1edd4d72ade22adfc128fb8d670e85c633fd1d18'
           'd72ec328e9303acef86342483b6f8537de6117d9'
           'f4b5f21fdb3b2a55aa353afa1603f953b207b73b'
           'b0bc977348610d6a008d75a43f65800251c4c9f7')
+validpgpkeys=('7CA69F4460F1BDC41FD2C858A5526B9BB3CD4E6A')
 
 prepare() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname/_/-}-${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
   patch -p0 -i "${srcdir}/lm_sensors-fancontrol.patch"
 }
 
 build() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname/_/-}-${pkgver//\./-}
   make PREFIX=/usr
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd ${pkgname/_/-}-${pkgver//\./-}
   make PROG_EXTRA=sensord BUILD_STATIC_LIB=0 \
     PREFIX=/usr SBINDIR=/usr/bin MANDIR=/usr/share/man DESTDIR="${pkgdir}" install
 
-- 
cgit v0.12

