summaryrefslogtreecommitdiffstats
path: root/games/OpenXcom
diff options
context:
space:
mode:
Diffstat (limited to 'games/OpenXcom')
-rw-r--r--games/OpenXcom/OpenXcom.SlackBuild26
-rw-r--r--games/OpenXcom/OpenXcom.info6
-rw-r--r--games/OpenXcom/openxcom.688
3 files changed, 19 insertions, 101 deletions
diff --git a/games/OpenXcom/OpenXcom.SlackBuild b/games/OpenXcom/OpenXcom.SlackBuild
index 9a4e8b90a2..1d45daba6b 100644
--- a/games/OpenXcom/OpenXcom.SlackBuild
+++ b/games/OpenXcom/OpenXcom.SlackBuild
@@ -1,9 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for OpenXcom
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
-# Copyright 2016-2019 Dominik Drobek <dominik.drobek (at) o2.pl>
+# Copyright 2016-2020 Dominik Drobek <dominik.drobek (at) o2.pl>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,11 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=OpenXcom
-VERSION=${VERSION:-20190912_1344}
-COMMIT="98072e1eeeaa6b64a276e87095a25516d4f6ba18"
+VERSION=${VERSION:-20201205_2034}
+COMMIT="cafc2eda3a11eefeb8e3f19f6a73d8f0d00206be"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -84,10 +94,6 @@ mkdir -p build
make install DESTDIR=$PKG
)
-install -D -m644 res/linux/${PRGNAM,,}.desktop $PKG/usr/share/applications/${PRGNAM,,}.desktop
-install -D -m644 res/linux/icons/${PRGNAM,,}_48x48.png $PKG/usr/share/pixmaps/${PRGNAM,,}.png
-install -D -m644 $CWD/${PRGNAM,,}.6 $PKG/usr/man/man6/${PRGNAM,,}.6
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -103,4 +109,4 @@ 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}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/OpenXcom/OpenXcom.info b/games/OpenXcom/OpenXcom.info
index f5cf1b0346..2fb722b39f 100644
--- a/games/OpenXcom/OpenXcom.info
+++ b/games/OpenXcom/OpenXcom.info
@@ -1,8 +1,8 @@
PRGNAM="OpenXcom"
-VERSION="20190912_1344"
+VERSION="20201205_2034"
HOMEPAGE="https://openxcom.org"
-DOWNLOAD="https://github.com/SupSuper/OpenXcom/archive/98072e1eeeaa6b64a276e87095a25516d4f6ba18/OpenXcom-98072e1eeeaa6b64a276e87095a25516d4f6ba18.tar.gz"
-MD5SUM="9f3f5e7fd8b5b731153e3a7ba375ab1c"
+DOWNLOAD="https://github.com/SupSuper/OpenXcom/archive/cafc2eda3a11eefeb8e3f19f6a73d8f0d00206be/OpenXcom-cafc2eda3a11eefeb8e3f19f6a73d8f0d00206be.tar.gz"
+MD5SUM="21989afb6389a3f7bd0f6a35f6d7dbcb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="yaml-cpp SDL_gfx"
diff --git a/games/OpenXcom/openxcom.6 b/games/OpenXcom/openxcom.6
deleted file mode 100644
index 3be4f320fa..0000000000
--- a/games/OpenXcom/openxcom.6
+++ /dev/null
@@ -1,88 +0,0 @@
-'\" t
-.\" Title: openxcom
-.\" Author: [see the "AUTHOR" section]
-.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\" Date: 2014.06.12
-.\" Manual: User\*(Aqs Manual
-.\" Source: 1.0
-.\" Language: English
-.\"
-.TH "OPENXCOM" "6" "2014\&.06\&.12" "1\&.0" "User\*(Aqs Manual"
-.\" -----------------------------------------------------------------
-.\" * Define some portability stuff
-.\" -----------------------------------------------------------------
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" http://bugs.debian.org/507673
-.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.ie \n(.g .ds Aq \(aq
-.el .ds Aq '
-.\" -----------------------------------------------------------------
-.\" * set default formatting
-.\" -----------------------------------------------------------------
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.\" -----------------------------------------------------------------
-.\" * MAIN CONTENT STARTS HERE *
-.\" -----------------------------------------------------------------
-.SH "NAME"
-openxcom \- An open\-source clone of the original "UFO: Enemy Unknown"
-.SH "SYNOPSIS"
-.HP \w'\fBopenxcom\fR\ 'u
-\fBopenxcom\fR [\fIOPTIONS\fR]
-.SH "DESCRIPTION"
-.PP
-
-\fBopenxcom\fR
-is an open\-source clone of the popular UFO: Enemy Unknown (X\-Com: UFO Defense in USA) videogame by Microprose, licensed under the GPL and written in C++ / SDL\&.
-.SH "OPTIONS"
-.PP
-\fB\-data\fR \fIPATH\fR
-.RS 4
-use
-\fIPATH\fR
-as the default Data Folder instead of auto\-detecting
-.RE
-.PP
-\fB\-user\fR \fIPATH\fR
-.RS 4
-use
-\fIPATH\fR
-as the default User Folder instead of auto\-detecting
-.RE
-.PP
-\fB\-cfg\fR \fIPATH\fR
-.RS 4
-use
-\fIPATH\fR
-as the default Config Folder instead of auto\-detecting
-.RE
-.PP
-\fB\-\fR\fB\fIKEY\fR\fR \fIVALUE\fR
-.RS 4
-set option
-\fIKEY\fR
-to
-\fIVALUE\fR
-instead of default/loaded value (eg\&.
-\-displayWidth 640)
-.RE
-.PP
-\fB\-help\fR, \fB\-?\fR
-.RS 4
-show command\-line help
-.RE
-.SH "AUTHOR"
-.PP
-OpenXcom Developers
-.SH "SEE ALSO"
-.PP
-
-\m[blue]\fB\%http://openxcom.org\fR\m[],
-\m[blue]\fB\%http://ufopaedia.org/index.php?title=OpenXcom\fR\m[]
-.SH "COPYRIGHT"
-.br
-Copyright \(co 2014 OpenXcom Developers
-.br