sci-electronics/klayout: Fix double prefix paths
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 19 Apr 2020 20:59:45 +0000 (23:59 +0300)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sun, 19 Apr 2020 21:00:47 +0000 (00:00 +0300)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
sci-electronics/klayout/klayout-0.26.4-r1.ebuild [moved from sci-electronics/klayout/klayout-0.26.4.ebuild with 94% similarity]
sci-electronics/klayout/klayout-9999.ebuild

similarity index 94%
rename from sci-electronics/klayout/klayout-0.26.4.ebuild
rename to sci-electronics/klayout/klayout-0.26.4-r1.ebuild
index e98e242fe19b5e63e38e7bb04cb4943df82029c7..30250478884e0e52ff2e28d592cdff67e5850f64 100644 (file)
@@ -80,8 +80,8 @@ each_ruby_install() {
        dodir "/usr/$(get_libdir)/klayout"
        mv lib* lay_plugins db_plugins "${ED}/usr/$(get_libdir)/klayout/" || die
 
-       dodir "$(python_get_sitedir)"
-       mv pymod/* "${ED}/$(python_get_sitedir)/" || die
+       mkdir -p "${D}/$(python_get_sitedir)" || die
+       mv pymod/* "${D}/$(python_get_sitedir)/" || die
        rmdir pymod || die
 
        dobin *
index e98e242fe19b5e63e38e7bb04cb4943df82029c7..30250478884e0e52ff2e28d592cdff67e5850f64 100644 (file)
@@ -80,8 +80,8 @@ each_ruby_install() {
        dodir "/usr/$(get_libdir)/klayout"
        mv lib* lay_plugins db_plugins "${ED}/usr/$(get_libdir)/klayout/" || die
 
-       dodir "$(python_get_sitedir)"
-       mv pymod/* "${ED}/$(python_get_sitedir)/" || die
+       mkdir -p "${D}/$(python_get_sitedir)" || die
+       mv pymod/* "${D}/$(python_get_sitedir)/" || die
        rmdir pymod || die
 
        dobin *