aboutsummaryrefslogtreecommitdiff
path: root/games/OpenRA/OpenRA.SlackBuild
diff options
context:
space:
mode:
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 f143513f9074c..f385d6d3df17f 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}