dev-util/vulkan-tools: Remove cube/cubepp renaming
authorNick Sarnie <sarnex@gentoo.org>
Fri, 9 Nov 2018 00:12:39 +0000 (19:12 -0500)
committerNick Sarnie <sarnex@gentoo.org>
Fri, 9 Nov 2018 00:12:39 +0000 (19:12 -0500)
Upstream handles it now

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
dev-util/vulkan-tools/vulkan-tools-9999.ebuild

index 338431363f270fe8e1748c31a5c17618884cd07b..c30ba2f16111b39490e54fab51fd85972af4ea50 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -49,8 +49,8 @@ pkg_setup() {
 
        if use cube; then
                MULTILIB_CHOST_TOOLS+=(
-                       /usr/bin/vulkancube
-                       /usr/bin/vulkancubecpp
+                       /usr/bin/vkcube
+                       /usr/bin/vkcubepp
                )
        fi
 
@@ -93,14 +93,4 @@ multilib_src_configure() {
 
 multilib_src_install() {
        cmake-utils_src_install
-
-       if use cube; then
-               mv "${ED%/}"/usr/bin/cube "${ED%/}"/usr/bin/vulkancube || die
-               mv "${ED%/}"/usr/bin/cubepp "${ED%/}"/usr/bin/vulkancubecpp || die
-       fi
-}
-
-pkg_postinst() {
-       einfo "The cube and cubepp demos have been renamed to"
-       einfo "vulkancube and vulkancubecpp to prevent collisions"
 }