summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-11 10:39:18 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-12 16:28:30 +0200
commit5491ccb5d4301718dbb72396f80cb032de67a8c2 (patch)
tree3914bc5b5ffa3c13c4b71f248da6904a51624dec /sys-apps/lm-sensors
parentRename sys-apps/{lm_sensors → lm-sensors}, to match upstream (diff)
downloadgentoo-5491ccb5d4301718dbb72396f80cb032de67a8c2.tar.gz
gentoo-5491ccb5d4301718dbb72396f80cb032de67a8c2.tar.bz2
gentoo-5491ccb5d4301718dbb72396f80cb032de67a8c2.zip
sys-apps/lm-sensors: Remove obsolete PN rewrite
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/lm-sensors')
-rw-r--r--sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild b/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild
index f84df9880d5c..e2d8209c6ad9 100644
--- a/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild
+++ b/sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild
@@ -8,15 +8,13 @@ inherit linux-info systemd toolchain-funcs multilib-minimal
DESCRIPTION="Hardware Monitoring user-space utilities"
HOMEPAGE="https://hwmon.wiki.kernel.org/ https://github.com/lm-sensors/lm-sensors"
-MY_PN="${PN/_/-}"
-
if [[ "${PV}" =~ .*_p[[:digit:]]{8}.* ]] ; then
COMMIT="2c8cca3d6cd60121b401734c1a24cfec7daed4fc"
- SRC_URI="https://github.com/lm-sensors/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${MY_PN}-${COMMIT}"
+ SRC_URI="https://github.com/lm-sensors/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
else
SRC_URI="https://github.com/lm-sensors/lm-sensors/archive/V$(ver_rs 1- -).tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}/${PN/_/-}-$(ver_rs 1- -)"
+ S="${WORKDIR}/${PN}-$(ver_rs 1- -)"
fi
LICENSE="GPL-2+ LGPL-2.1"