diff --git a/ap/conty/SlackBuild b/ap/conty/SlackBuild index 3974ea4e..7039d9f5 100755 --- a/ap/conty/SlackBuild +++ b/ap/conty/SlackBuild @@ -6,7 +6,7 @@ PRGNAM=$(basename $CWD) GITHUB_REPO=Kron4ek/Conty VERSION=${VERSION:-$(curl -s https://api.github.com/repos/${GITHUB_REPO}/releases/latest | grep tag_name | grep -o "[0-9.]*")} ARCH=${ARCH:-$(uname -m)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-gwh} EDITION=${EDITION:-"_lite_dwarfs"} # "", "_lite", "_dwarfs", "_lite_dwarfs" @@ -26,7 +26,18 @@ rm -fr $PKG mkdir -p $PKG$PREFIX/bin cp $REPOSITORY/conty${EDITION}-${VERSION}.sh $PKG$PREFIX/bin/${PRGNAM} -chmod +x $PKG$PREFIX/bin/${PRGNAM} + +cd $PKG$PREFIX/bin/ +cat < steam +#!/bin/bash + +$PREFIX/bin/conty steam "\$@" +EOF +for prg in wine winetricks lutris playonlinux4; do + ln -s ${PRGNAM} $prg +done + +chmod +x $PKG$PREFIX/bin/* ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true