dev-haskell/gtk: Inline MY_PV in MY_P
authorMichał Górny <mgorny@gentoo.org>
Fri, 8 Nov 2019 20:50:25 +0000 (21:50 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 10 Nov 2019 15:13:49 +0000 (16:13 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-haskell/gtk/gtk-0.12.5.7.2.ebuild

index 724b8f3ea7564ce51cf37429a9b493314c4e9f81..b4354a032e312862e0d24fb34d0f68c14206eb7f 100644 (file)
@@ -7,8 +7,7 @@ EAPI=5
 
 GTK_MAJ_VER="2"
 
-MY_PV="${PV%.*}"
-MY_P="${PN}-${MY_PV}"
+MY_P="${PN}-${PV%.*}"
 
 CABAL_FEATURES="lib profile haddock hoogle hscolour"
 inherit haskell-cabal