diff --git a/games/pcsx-rearmed/pcsx-rearmed.SlackBuild b/games/pcsx-rearmed/pcsx-rearmed.SlackBuild index 3d94b42ff6..21787671a8 100644 --- a/games/pcsx-rearmed/pcsx-rearmed.SlackBuild +++ b/games/pcsx-rearmed/pcsx-rearmed.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for PCSX-ReARMed # Copyright 2016-2018 Hunter Sezen -# Copyright 20120 ilmich < ardutu at gmail dot com > +# Copyright 2022 ilmich < ardutu at gmail dot com > # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,8 +26,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pcsx-rearmed -LIBNAM=pcsx_rearmed_libretro -VERSION=${VERSION:-2020.10.11_19b9695} +LIBNAM=${PRGNAM/-/_}_libretro +VERSION=${VERSION:-2022.09.16_c494049} +COMMIT=c494049cafad80fba4c3c372a0ce761929b63f7a BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -60,9 +58,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.xz -cd $PRGNAM-$VERSION +rm -rf ${PRGNAM/-/_}-$COMMIT +tar xvf $CWD/${PRGNAM/-/_}-$COMMIT.tar.gz +cd ${PRGNAM/-/_}-$COMMIT chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -75,7 +73,7 @@ find -L . \ make -f Makefile.libretro DEBUG=$DEBUG install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so -install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info +install -Dm0644 $CWD/$LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info if [ $DEBUG = 0 ]; then find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/games/pcsx-rearmed/pcsx-rearmed.info b/games/pcsx-rearmed/pcsx-rearmed.info index ebaf846cbf..7661eb2b3d 100644 --- a/games/pcsx-rearmed/pcsx-rearmed.info +++ b/games/pcsx-rearmed/pcsx-rearmed.info @@ -1,8 +1,8 @@ PRGNAM="pcsx-rearmed" -VERSION="2020.10.11_19b9695" +VERSION="2022.09.16_c494049" HOMEPAGE="https://www.libretro.com/" -DOWNLOAD="https://ilmich.github.io/src/pcsx-rearmed-2020.10.11_19b9695.tar.xz" -MD5SUM="ebc27a8ca62674bd9a5b2e605e4276d6" +DOWNLOAD="https://github.com/libretro/pcsx_rearmed/archive/c494049/pcsx_rearmed-c494049cafad80fba4c3c372a0ce761929b63f7a.tar.gz" +MD5SUM="626686994ef73ade154fce5a88421b6f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="RetroArch"