[arch-commits] Commit in lm_sensors/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Aug 9 18:59:46 UTC 2016
Date: Tuesday, August 9, 2016 @ 18:59:46
Author: arojas
Revision: 273551
Fix source
Modified:
lm_sensors/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-09 18:58:22 UTC (rev 273550)
+++ PKGBUILD 2016-08-09 18:59:46 UTC (rev 273551)
@@ -12,11 +12,10 @@
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=('3e245b61a69756ea94f9c8a7c7614ec543970b8c'
- 'SKIP'
+sha1sums=('4a9026e4db894c98ee7cea0bec1188108e415f71'
'1c91ae403d3cd02b6177ad1f1b2f2c3a7a3257f5'
'1edd4d72ade22adfc128fb8d670e85c633fd1d18'
'd72ec328e9303acef86342483b6f8537de6117d9'
@@ -25,7 +24,7 @@
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"
@@ -32,12 +31,12 @@
}
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
More information about the arch-commits
mailing list