aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/javacpc/javacpc.SlackBuild11
-rw-r--r--games/javacpc/javacpc.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/games/javacpc/javacpc.SlackBuild b/games/javacpc/javacpc.SlackBuild
index c218acdf57cec..a46b64cbb20de 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
diff --git a/games/javacpc/javacpc.info b/games/javacpc/javacpc.info
index adbe514c0ffad..b242473c825d0 100644
--- a/games/javacpc/javacpc.info
+++ b/games/javacpc/javacpc.info
@@ -1,8 +1,8 @@
PRGNAM="javacpc"
-VERSION="2.3"
+VERSION="2.6b"
HOMEPAGE="http://cpc-live.com"
-DOWNLOAD="https://github.com/dslackw/JavaCPC-Desktop/archive/2.3.tar.gz"
-MD5SUM="8b226f45dfaa417bc6741205426de10f"
+DOWNLOAD="http://downloads.sourceforge.net/project/javacpc/JavaCPC%20Desktop/JavaCPC_Desktop_2.6b.zip"
+MD5SUM="57007fa131945c63ae1a8d95547c0c6a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"