diff --git a/games/javacpc/javacpc.SlackBuild b/games/javacpc/javacpc.SlackBuild index 1e4f148a73..2d730241e6 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 01584133b4..7c5cf3af10 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 ef6271ce53..d64f9ed80a 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