From 8411f387c96a64ad48112cd8887aec24400612df Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 15 Jan 2017 21:02:29 +0000 Subject: games/hlsdk: Fixed tarball handling. Signed-off-by: David Spencer --- games/hlsdk/hlsdk.SlackBuild | 9 +++++---- games/hlsdk/hlsdk.info | 2 +- games/hlsdk/slack-desc | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) (limited to 'games/hlsdk') diff --git a/games/hlsdk/hlsdk.SlackBuild b/games/hlsdk/hlsdk.SlackBuild index 0c0e81f0d5f3..347c438247c9 100644 --- a/games/hlsdk/hlsdk.SlackBuild +++ b/games/hlsdk/hlsdk.SlackBuild @@ -23,6 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hlsdk +SRCNAM=halflife VERSION=${VERSION:-28082015} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +61,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$GITHASH -tar xvf $CWD/$GITHASH.tar.gz -cd halflife-$GITHASH +rm -rf $SRCNAM-$GITHASH +tar xvf $CWD/$SRCNAM-$GITHASH.tar.gz +cd $SRCNAM-$GITHASH chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -72,7 +73,7 @@ find -L . \ cd .. mkdir -p $PKG/opt -cp -r halflife-$GITHASH $PKG/opt/hlsdk +cp -r $SRCNAM-$GITHASH $PKG/opt/hlsdk mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION touch $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/hlsdk/hlsdk.info b/games/hlsdk/hlsdk.info index 8462d113a164..c966f1b6414c 100644 --- a/games/hlsdk/hlsdk.info +++ b/games/hlsdk/hlsdk.info @@ -1,7 +1,7 @@ PRGNAM="hlsdk" VERSION="28082015" HOMEPAGE="https://github.com/FWGS/halflife" -DOWNLOAD="https://github.com/FWGS/halflife/archive/235f2f448f5cab7251206f8ff1f242e30346a4d4.tar.gz" +DOWNLOAD="https://github.com/FWGS/halflife/archive/235f2f4/halflife-235f2f448f5cab7251206f8ff1f242e30346a4d4.tar.gz" MD5SUM="fe2d71f00ac84fd55cfff6e0bdef5f4f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/games/hlsdk/slack-desc b/games/hlsdk/slack-desc index 24904a412b6e..78886f2ec641 100644 --- a/games/hlsdk/slack-desc +++ b/games/hlsdk/slack-desc @@ -5,7 +5,7 @@ # You must make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':' except on otherwise blank lines. - |-----handy-ruler------------------------------------------------------| + |-----handy-ruler------------------------------------------------------| hlsdk: hlsdk (Half Life 1 SDK) hlsdk: hlsdk: Half-Life 1 engine based games SDK -- cgit v1.2.3