diff options
Diffstat (limited to 'network/syncthingtray-bin/syncthingtray-bin.SlackBuild')
-rw-r--r-- | network/syncthingtray-bin/syncthingtray-bin.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/syncthingtray-bin/syncthingtray-bin.SlackBuild b/network/syncthingtray-bin/syncthingtray-bin.SlackBuild index d0cb536f36..227355cb61 100644 --- a/network/syncthingtray-bin/syncthingtray-bin.SlackBuild +++ b/network/syncthingtray-bin/syncthingtray-bin.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=syncthingtray-bin SRCNAM=syncthingtray -VERSION=${VERSION:-1.7.4} +VERSION=${VERSION:-1.7.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,15 +69,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} + -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - mkdir -p $PKG/opt/$SRCNAM cp $SRCNAM-$VERSION-$ARCH-pc-linux-gnu $PKG/opt/$SRCNAM/$SRCNAM-$VERSION-$ARCH-pc-linux-gnu mkdir -p $PKG/usr/bin ln -sf ../../opt/$SRCNAM/$SRCNAM-$VERSION-$ARCH-pc-linux-gnu $PKG/usr/bin/$SRCNAM-$ARCH-pc-linux-gnu +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + mkdir -p $PKG/usr/share/icons/hicolor/256x256/apps cp $CWD/$SRCNAM.png $PKG/usr/share/icons/hicolor/256x256/apps |