aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPetar Petrov <petar.petrov@student.oulu.fi>2015-06-27 22:47:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-27 22:47:37 +0700
commit55f5c224211f6950f862b9dee96949e6d95b653a (patch)
tree0d6de40eab728f90198206c6b2af7974899736ed /games
parentb2f0667593f611e7d231844594db0c60e8c52f73 (diff)
games/vcmi-core: Avoid duplicate files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/vcmi-core/vcmi-core.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/vcmi-core/vcmi-core.SlackBuild b/games/vcmi-core/vcmi-core.SlackBuild
index a5761e1d6fcb0..10e611b57f0e2 100644
--- a/games/vcmi-core/vcmi-core.SlackBuild
+++ b/games/vcmi-core/vcmi-core.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=vcmi-core
SRCNAM=core
VERSION=${VERSION:-20130724}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -55,6 +55,9 @@ find -L . \
mkdir -p $PKG/usr/share/vcmi
cp -a Mods $PKG/usr/share/vcmi
+# This is already in the vcmi package
+rm -rf $PKG/usr/share/vcmi/Mods/vcmi/Data/s
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild