Permalink
Browse files

[sci-mathematics/scilab-bin] Fixed build directory

  • Loading branch information...
1 parent e0969a4 commit 62edd3d4479d5abe5c135be09e8305efbc8a5e2a @nikhatzi nikhatzi committed Aug 24, 2012
Showing with 5 additions and 3 deletions.
  1. +1 −1 sci-mathematics/scilab-bin/Manifest
  2. +4 −2 sci-mathematics/scilab-bin/scilab-bin-5.3.3.ebuild
@@ -1,2 +1,2 @@
DIST scilab-5.3.3.bin.linux-x86_64.tar.gz 144797816 SHA256 b29e0ebb5ea0133e39fb207ec062808675f8c52e1d0c4aee6b76d2d03cd1ea15 SHA512 bae781b6fa1602591da1c2abd83683a0a60fca56b5c6cf06d989727321e58eb0a390bd4d55cbf398397aecbe25445cc12b918c88ae2d345d1e5d260359ceac0f WHIRLPOOL d2d6a672befd4aa565c7e3343ee28ea81a2e88d13d8e8b60c3ee6f535fade43edcc23f1091727a99c4939b6a82e86b2e78500805f40a755aefc86abe5f9d74d0
-EBUILD scilab-bin-5.3.3.ebuild 715 SHA256 b1fe64b4c9100f97fd8023e8febfcc900b0c50306d9adbe78b4f86c7e3f4badb SHA512 c26e87db2cb8aae302e977e10ef312a46ef553ea35112d20e23323aad5cd5c2dbc80495e2c4a7e41c258aca6dfd37abb87146143f1dfaeafecd8072e98da79a7 WHIRLPOOL dea9f0708901043683220f5ba475df2193babfdfd52bbb97ff18b90c27bcddd8122d1a9d606ec2734977ac9e52a2e328cd967b44be2c40664a962cc6ba43f80b
+EBUILD scilab-bin-5.3.3.ebuild 762 SHA256 2bd768e88021cf3a30d8cab46ab2ea9f614833ab2ed31fb14e9bd4954da9f183 SHA512 df7906eb1390a7e40f40b77229e64ce528aab755617853dc98f6a0f30a82b3650f4b76ed49167e79f6dec97b0dd4254949ed915d808814e6acc81aec6de31ff3 WHIRLPOOL 6a376a71996489830c5f1ad1680692bc29ffe911666b09d7d158b9bf6e9f0e0d69740af934bbc375c2c841b209ebfa08d3ecf8025c92a070bd3e11772a42b456
@@ -11,6 +11,8 @@ IUSE=""
KEYWORDS="~amd64"
MY_PN=${PN/-bin/}
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_P}
SRC_URI="http://www.scilab.org/download/${PV}/${MY_PN}-${PV}.bin.linux-x86_64.tar.gz"
@@ -30,8 +32,8 @@ src_install() {
pkg_postrm() {
- rm -rf "/opt/${PN}"
- rm "/usr/bin/${PN}"
+ rm -rf "/opt/${MY_PN}"
+ rm "/usr/bin/${MY_PN}"
}

0 comments on commit 62edd3d

Please sign in to comment.