diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2016-01-17 19:28:36 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-18 17:07:26 +0700 |
commit | c44f0fd7581907fa050d90330dba87715c9a93ac (patch) | |
tree | c0b37faac47fb8ba5df3adddae73e40660c987c0 /development/zed/zed.SlackBuild | |
parent | 13ee631b7aba578d07752540a4d40a64c30b3d6b (diff) | |
download | slackbuilds-c44f0fd7581907fa050d90330dba87715c9a93ac.tar.gz |
development/zed: Fix zed for 14.2.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'development/zed/zed.SlackBuild')
-rw-r--r-- | development/zed/zed.SlackBuild | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/development/zed/zed.SlackBuild b/development/zed/zed.SlackBuild index 30be078846..7501ebfe5d 100644 --- a/development/zed/zed.SlackBuild +++ b/development/zed/zed.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=zed SRCNAM=Zed VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -72,23 +72,18 @@ find -L . \ mkdir -pv $PKG/opt/${PRGNAM}/libs/ cp -Rav * $PKG/opt/${PRGNAM} -## fixes udev1 dependency -ln -sfv /usr/lib${LIBDIRSUFFIX}/libudev.so $PKG/opt/${PRGNAM}/libs/libudev.so.1 - mkdir -p $PKG/usr/bin - -## we make our own script since -## we have to set the lib path +## we make our own script since zed +## has to run from its own directory cat <<EOT > $PKG/usr/bin/${PRGNAM} #!/bin/sh -## fix libudev issue -LD_LIBRARY_PATH=/opt/${PRGNAM}/libs/ /opt/${PRGNAM}/${PRGNAM} +/opt/${PRGNAM}/${PRGNAM} "$@" EOT chmod 755 $PKG/usr/bin/${PRGNAM} mkdir -p $PKG/usr/share/pixmaps -ln -sf /opt/${PRGNAM}/${SRCNAM}.png $PKG/usr/share/pixmaps/${PRGNAM}.png +ln -sf $PKG/opt/${PRGNAM}/${SRCNAM}.png $PKG/usr/share/pixmaps/${PRGNAM}.png mkdir -p $PKG/usr/share/applications cat $CWD/${PRGNAM}.desktop > $PKG/usr/share/applications/${PRGNAM}.desktop |