aboutsummaryrefslogtreecommitdiff
path: root/games/javacpc
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-06-28 19:20:02 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:55:46 +0700
commitc816c272e63efbc9c5aece65e640ca25432cdbb5 (patch)
tree15487466aec7a4768c78ec980d2a89ecb20a1f15 /games/javacpc
parent39bd717f73a5dec1410436dca38906eb8031fcef (diff)
games/javacpc: Updated for version 3.0.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/javacpc')
-rw-r--r--games/javacpc/javacpc.SlackBuild8
-rw-r--r--games/javacpc/javacpc.info6
-rw-r--r--games/javacpc/javacpc.sh2
3 files changed, 8 insertions, 8 deletions
diff --git a/games/javacpc/javacpc.SlackBuild b/games/javacpc/javacpc.SlackBuild
index 1e4f148a7339..2d730241e6e4 100644
--- a/games/javacpc/javacpc.SlackBuild
+++ b/games/javacpc/javacpc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for javacpc
-# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=javacpc
SRCNAM=JavaCPC_Desktop
-VERSION=${VERSION:-2.9.8f}
+VERSION=${VERSION:-3.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,7 +85,7 @@ find -L . \
DATA="system lib JavaCPC_Easteregg.zip"
mkdir -p $PKG/usr/share/$PRGNAM
for i in $DATA; do
- cp -rf $i $PKG/usr/share/$PRGNAM
+ cp -rf $i $PKG/usr/share/$PRGNAM
done
# install library
@@ -98,7 +98,7 @@ install -D -m0755 *.jar $PKG/usr/share/$PRGNAM
# remove unused
REMOVE="*.exe *.dll lib/sunos lib/windows"
for i in $REMOVE; do
- rm -rf $PKG/usr/share/$PRGNAM/$i
+ rm -rf $PKG/usr/share/$PRGNAM/$i
done
# install launcher
diff --git a/games/javacpc/javacpc.info b/games/javacpc/javacpc.info
index 01584133b481..7c5cf3af105d 100644
--- a/games/javacpc/javacpc.info
+++ b/games/javacpc/javacpc.info
@@ -1,8 +1,8 @@
PRGNAM="javacpc"
-VERSION="2.9.8f"
+VERSION="3.0.2"
HOMEPAGE="http://cpc-live.com"
-DOWNLOAD="https://downloads.sourceforge.net/project/javacpc/JavaCPC%20Desktop/JavaCPC_Desktop_2.9.8f.zip"
-MD5SUM="4fec6ebf5730f1bac7db59a67f194a8a"
+DOWNLOAD="https://downloads.sourceforge.net/project/javacpc/JavaCPC%20Desktop/JavaCPC_Desktop_3.0.2.zip"
+MD5SUM="265b35fe51821ec823b230c2808c828e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk8"
diff --git a/games/javacpc/javacpc.sh b/games/javacpc/javacpc.sh
index ef6271ce53b5..d64f9ed80acd 100644
--- a/games/javacpc/javacpc.sh
+++ b/games/javacpc/javacpc.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
cd /usr/share/javacpc
java -jar JavaCPC.jar