summaryrefslogtreecommitdiff
path: root/games/OpenRA/OpenRA.SlackBuild
diff options
context:
space:
mode:
authorkhronosschoty <khronosschoty@posteo.org>2018-08-12 17:50:01 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-18 08:39:43 +0700
commitfba744c4d8358ed499c868599e552cf953a6b985 (patch)
tree575e2dbb26276ff58545bc2dcd3a9aaa1ab0b038 /games/OpenRA/OpenRA.SlackBuild
parent711a0b8e43d7362f2b12239104f0ee7c3bf344a3 (diff)
downloadslackbuilds-fba744c4d8358ed499c868599e552cf953a6b985.tar.gz
games/OpenRA: Updated for version 20180307.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/OpenRA/OpenRA.SlackBuild')
-rw-r--r--games/OpenRA/OpenRA.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/OpenRA/OpenRA.SlackBuild b/games/OpenRA/OpenRA.SlackBuild
index f143513f90..f385d6d3df 100644
--- a/games/OpenRA/OpenRA.SlackBuild
+++ b/games/OpenRA/OpenRA.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=OpenRA
-VERSION=${VERSION:-20170527}
+VERSION=${VERSION:-20180307}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,11 +57,10 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-release-$VERSION
-tar xvf $CWD/$PRGNAM-release-$VERSION.tar.gz
-cd $PRGNAM-release-$VERSION
+rm -rf $TMP/$PRGNAM-release-$VERSION-source
+mkdir -p $TMP $PKG $OUTPUT $TMP/$PRGNAM-release-$VERSION-source
+cd $TMP/$PRGNAM-release-$VERSION-source
+tar xvf $CWD/$PRGNAM-release-$VERSION-source.tar.bz2
cp $CWD/fetch-thirdparty-deps.sh.new thirdparty/fetch-thirdparty-deps.sh
cp $CWD/download.tar.gz thirdparty
mkdir thirdparty/download/
@@ -80,7 +79,7 @@ find -L . \
make dependencies
make all
-make prefix=/usr mandir=/usr/man bindir=/usr/games libdir=/usr/lib${LIBDIRSUFFIX} install-all DESTDIR=$PKG
+make prefix=/usr mandir=/usr/man bindir=/usr/games libdir=/usr/lib${LIBDIRSUFFIX} install DESTDIR=$PKG
make prefix=/usr mandir=/usr/man bindir=/usr/games libdir=/usr/lib${LIBDIRSUFFIX} install-linux-shortcuts DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -93,6 +92,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}