diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-31 13:25:04 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:18:48 +0700 |
commit | c2649abc899a22bbae8c77deabb7676e855d7cdd (patch) | |
tree | fc4f01c6397b0b8293dba8f66a75dd2a8e1d8582 /system/I-Nex | |
parent | 4a14e88342773891a6cd6107a9cf3967c61cf997 (diff) | |
download | slackbuilds-c2649abc899a22bbae8c77deabb7676e855d7cdd.tar.gz |
system/I-Nex: Fix symlimk, .desktop perms.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/I-Nex')
-rw-r--r-- | system/I-Nex/I-Nex.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/system/I-Nex/I-Nex.SlackBuild b/system/I-Nex/I-Nex.SlackBuild index d45e04499d..246848795d 100644 --- a/system/I-Nex/I-Nex.SlackBuild +++ b/system/I-Nex/I-Nex.SlackBuild @@ -22,6 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220331 bkw: Modified by SlackBuilds.org, BUILD=3: +# - don't install .desktop files +x. +# - make /usr/bin/i-nex symlink relative. + # 20220212 bkw: Modified by SlackBuilds.org: BUILD=2. # - add -j1 to 'make install' to avoid breaking parallel builds. # - fix the .desktop files @@ -32,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=I-Nex VERSION=${VERSION:-7.6.1} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -104,10 +108,15 @@ strip $PKG/usr/bin/i-nex-edid # the shipped .desktop files don't validate, and are silly. also they # get installed executable... +rm -f $PKG/usr/share/applications/* for i in $CWD/*.desktop; do cat $i > $PKG/usr/share/applications/$( basename $i ) done +# 20220331 bkw: this symlink should be relative, not absolute. +rm -f $PKG/usr/bin/i-nex +ln -s i-nex.gambas $PKG/usr/bin/i-nex + rm -rf $PKG/usr/share/doc mv $PKG/usr/share/man/ $PKG/usr/ |