sys-apps/lm-sensors: Remove obsolete PN rewrite
authorMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 08:39:18 +0000 (10:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 12 Sep 2019 14:28:30 +0000 (16:28 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-apps/lm-sensors/lm-sensors-3.5.0_p20190505.ebuild

index f84df9880d5c59cd864290c0552e967d95e10cd7..e2d8209c6ad9b71ca48cc6f1118c69b22686db88 100644 (file)
@@ -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"