diff options
Diffstat (limited to 'development')
-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 |