From befafe983381400b2c108460932051d1d05dcd1e Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 31 Jul 2023 14:28:13 +0200 Subject: [PATCH] [conty-bin] binary is conty --- ap/conty-bin/SlackBuild | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/ap/conty-bin/SlackBuild b/ap/conty-bin/SlackBuild index a3c9c870..3ab04414 100755 --- a/ap/conty-bin/SlackBuild +++ b/ap/conty-bin/SlackBuild @@ -25,7 +25,7 @@ mkdir -p $REPOSITORY rm -fr $PKG mkdir -p $PKG$PREFIX/bin -cp $REPOSITORY/conty${EDITION}-${VERSION}.sh $PKG$PREFIX/bin/${PRGNAM} +cp $REPOSITORY/conty${EDITION}-${VERSION}.sh $PKG$PREFIX/bin/conty cd $PKG$PREFIX/bin/ cat < steam @@ -46,7 +46,7 @@ Name=Steam EOF for prg in wine winetricks lutris playonlinux4; do - ln -s ${PRGNAM} $prg + ln -s conty $prg cat < $PKG$PREFIX/share/applications/$prg.desktop [Desktop Entry] Encoding=UTF-8 @@ -60,21 +60,8 @@ 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 - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -) - mkdir -p $PKG/install cat < $PKG/install/slack-desc - # HOW TO EDIT -THIS FILE: - # The "handy ruler" below makes it easier to edit a package description. Line - # up the first '|' above the ':' following the base package name, and the '|' - # on the right side marks the last column you can put a character in. You must - # make exactly 11 lines for the formatting to be correct. It's also - # customary to leave one space after the ':'. - |-----handy-ruler--------------------------------------------------------| $PRGNAM: $PRGNAM (Easy to use non-root container packed into a single executable) $PRGNAM: @@ -90,6 +77,4 @@ $PRGNAM: EOF cd $PKG -rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la - /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION${EDITION}-$ARCH-$BUILD$TAG.txz