summaryrefslogtreecommitdiff
path: root/games/javacpc/javacpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/javacpc/javacpc.SlackBuild')
-rw-r--r--games/javacpc/javacpc.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/javacpc/javacpc.SlackBuild b/games/javacpc/javacpc.SlackBuild
index c218acdf57..a46b64cbb2 100644
--- a/games/javacpc/javacpc.SlackBuild
+++ b/games/javacpc/javacpc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for javacpc
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=javacpc
-SRCNAM=JavaCPC-Desktop
-VERSION=${VERSION:-2.3}
+SRCNAM=JavaCPC_Desktop
+VERSION=${VERSION:-2.6b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,8 +61,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+mkdir -p $SRCNAM-$VERSION
cd $SRCNAM-$VERSION
+unzip $CWD/$SRCNAM\_$VERSION.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -101,7 +102,7 @@ mkdir -p $PKG/usr/share/pixmaps/
install -D -m644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
+# cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install