From c44f0fd7581907fa050d90330dba87715c9a93ac Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Sun, 17 Jan 2016 19:28:36 -0800 Subject: [PATCH] development/zed: Fix zed for 14.2. Signed-off-by: Ryan P.C. McQuen --- development/zed/zed.SlackBuild | 15 +++++---------- 1 file 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 < $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