diff options
Diffstat (limited to 'games/OpenRA')
-rw-r--r-- | games/OpenRA/OpenRA.SlackBuild | 14 | ||||
-rw-r--r-- | games/OpenRA/OpenRA.info | 14 | ||||
-rw-r--r-- | games/OpenRA/README | 5 | ||||
-rw-r--r-- | games/OpenRA/doinst.sh | 9 |
4 files changed, 28 insertions, 14 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} diff --git a/games/OpenRA/OpenRA.info b/games/OpenRA/OpenRA.info index 6e5f98a31ca33..8690f2f48fd1e 100644 --- a/games/OpenRA/OpenRA.info +++ b/games/OpenRA/OpenRA.info @@ -1,12 +1,12 @@ PRGNAM="OpenRA" -VERSION="20170527" +VERSION="20180307" HOMEPAGE="http://www.openra.net/" -DOWNLOAD="https://github.com/OpenRA/OpenRA/archive/release-20170527/OpenRA-release-20170527.tar.gz \ - http://repo.khronosschoty.org/Slackware/stuff/OpenRA/download.tar.gz \ - http://ponce.cc/slackware/sources/repo/OpenRA/GeoLite2-Country.mmdb.gz" -MD5SUM="77178cd46feb757aa7738da84babdbc8 \ - 6a4f37c2ec01e534408b4f38d8855024 \ - 91fa7f10bcb11a9294f04b51482fc60f" +DOWNLOAD="https://github.com/OpenRA/OpenRA/releases/download/release-20180307/OpenRA-release-20180307-source.tar.bz2 \ + http://repo.khronosschoty.org/Slackware/stuff/OpenRA/20180307/download.tar.gz \ + http://repo.khronosschoty.org/Slackware/stuff/OpenRA/20180307/GeoLite2-Country.mmdb.gz" +MD5SUM="7cfbf437f09a10d89683d88b0e4dcdd3 \ + 8889d0f8bf80cd392e5c1e9186bf3dee \ + 294afcf406c10bfbc20d473d0f8a2b9f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua SDL2 mono" diff --git a/games/OpenRA/README b/games/OpenRA/README index 845497602bf29..2d079357d7ccb 100644 --- a/games/OpenRA/README +++ b/games/OpenRA/README @@ -5,3 +5,8 @@ Command & Conquer real time strategy games. A flexible open source game engine (the OpenRA engine), has been developed, which provides a common platform for rebuilding and reimagining classic 2D and 2.5D RTS games (the OpenRA mods). + +NOTE: There is a known issue with the version of mono found at SlackBuilds.org +and some terminals, such as urxvt, that affects OpenRA during build time and run +time; one work around is to pass the varible TERM=xterm to the script during +build and run time. diff --git a/games/OpenRA/doinst.sh b/games/OpenRA/doinst.sh new file mode 100644 index 0000000000000..65c7e2eeb9aa5 --- /dev/null +++ b/games/OpenRA/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |