diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-01-15 21:02:29 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-21 07:04:19 +0700 |
commit | 8411f387c96a64ad48112cd8887aec24400612df (patch) | |
tree | 14a5a886ff2ba8c008ad0c83a13125ee036f3a7e | |
parent | 63a51a46d0d04d9f0598258b3f9c659e9c7545ae (diff) |
games/hlsdk: Fixed tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | games/hlsdk/hlsdk.SlackBuild | 9 | ||||
-rw-r--r-- | games/hlsdk/hlsdk.info | 2 | ||||
-rw-r--r-- | games/hlsdk/slack-desc | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/games/hlsdk/hlsdk.SlackBuild b/games/hlsdk/hlsdk.SlackBuild index 0c0e81f0d5f32..347c438247c93 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 8462d113a1645..c966f1b6414c6 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 24904a412b6e4..78886f2ec6411 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 |