summaryrefslogtreecommitdiff
path: root/games/OpenXcom/OpenXcom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/OpenXcom/OpenXcom.SlackBuild')
-rw-r--r--games/OpenXcom/OpenXcom.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/games/OpenXcom/OpenXcom.SlackBuild b/games/OpenXcom/OpenXcom.SlackBuild
index e362c86e22..799d48da51 100644
--- a/games/OpenXcom/OpenXcom.SlackBuild
+++ b/games/OpenXcom/OpenXcom.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=OpenXcom
-VERSION=${VERSION:-0.9}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,13 +84,16 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/applications
-install -D -m644 res/linux/openxcom.desktop $PKG/usr/share/applications/openxcom.desktop
+install -D -m644 res/linux/${PRGNAM,,}.desktop $PKG/usr/share/applications/${PRGNAM,,}.desktop
mkdir -p $PKG/usr/share/pixmaps/
-install -D -m644 res/linux/icons/openxcom.svg $PKG/usr/share/pixmaps/openxcom.svg
+install -D -m644 res/linux/icons/${PRGNAM,,}_48x48.png $PKG/usr/share/pixmaps/${PRGNAM,,}.png
+
+mkdir -p $PKG/usr/man/man6
+install -D -m0644 $CWD/${PRGNAM,,}.6.gz $PKG/usr/man/man6/${PRGNAM,,}.6.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGELOG.txt COPYING README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install