mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/zed: Fix zed for 14.2.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
This commit is contained in:
parent
13ee631b7a
commit
c44f0fd758
1 changed files with 5 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue