aboutsummaryrefslogtreecommitdiff
path: root/games/OpenXcom/OpenXcom.SlackBuild
diff options
context:
space:
mode:
authordslackw <d.zlatanidis@gmail.com>2014-08-06 06:33:58 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-06 14:18:48 +0700
commit135ef2cc9e5550f4ea7c632c08fe076044e88ceb (patch)
tree0e8d6baabb2c03b0d5c0eda211936903f86a4dc2 /games/OpenXcom/OpenXcom.SlackBuild
parentac4273cd01feb700f30c06309a3917030c0a605f (diff)
games/OpenXcom: Updated for version 1.0.
Signed-off-by: dslackw <d.zlatanidis@gmail.com>
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 e362c86e224b1..799d48da511ad 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