summaryrefslogtreecommitdiff
path: root/user/lm_sensors/APKBUILD
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 19:44:28 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 19:44:28 -0400
commitdb4d737a2d883f7d3ff122fa3116afecb9942770 (patch)
treea829de67577a3c8dac8386d902d25de634117e1a /user/lm_sensors/APKBUILD
parent94731625b42d0dfc0fd5111482938584b40c7478 (diff)
downloadpackages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.gz
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.bz2
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.tar.xz
packages-db4d737a2d883f7d3ff122fa3116afecb9942770.zip
user/*: APKBUILD bashism removal, part one (a-p)
Diffstat (limited to 'user/lm_sensors/APKBUILD')
-rw-r--r--user/lm_sensors/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/lm_sensors/APKBUILD b/user/lm_sensors/APKBUILD
index 3b46a20f1..cf8e93f1b 100644
--- a/user/lm_sensors/APKBUILD
+++ b/user/lm_sensors/APKBUILD
@@ -1,6 +1,8 @@
# Maintainer:
pkgname=lm_sensors
+_pkgname=lm-sensors
pkgver=3.5.0
+_pkgver=$(printf '%s' "$pkgver" | tr . -)
pkgrel=0
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring."
url="https://hwmon.wiki.kernel.org/lm_sensors"
@@ -17,7 +19,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/lm-sensors/lm-sensors/archiv
sensord.confd
sensord.initd
"
-builddir="$srcdir/${pkgname/_/-}-${pkgver//./-}"
+builddir="$srcdir/$_pkgname-$_pkgver"
prepare() {
cd "$builddir"