aboutsummaryrefslogtreecommitdiff
path: root/games/javacpc
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-02-26 17:25:28 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-26 23:27:45 +0700
commit9c09d2663f7123c2ce7072344b85463c202bb85c (patch)
treecf9275f6b4a122a4043d0a69fca4d0629f69a16f /games/javacpc
parent5b933c32a83f4ddfd9e3c3208fb844f9227d4f5c (diff)
games/javacpc: Updated for version 2.6b.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/javacpc')
-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 c218acdf57ce..a46b64cbb20d 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 adbe514c0ffa..b242473c825d 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"