Commit 66a8340b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add rpcs3

parent ae406676
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
. $(dirname $0)/common.sh
# rpcs3-v0.0.21-13357-ff34a73f_linux64.AppImage
VERSION="$(basename "$TAR" | sed -e 's|^rpcs3-v||' -e 's|-.*||')"
[ -n "$VERSION" ] || fatal "Can't extract version from $TAR file."
PKGNAME=$PRODUCT-$VERSION
cp $TAR $PKGNAME.AppImage || fatal
return_tar $PKGNAME.AppImage
#!/bin/sh
PKGNAME=rpcs3
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="RPCS3 - free and open-source PlayStation 3 emulator from the official site"
URL="https://rpcs3.net/download"
. $(dirname $0)/common.sh
file="rpcs3-v${VERSION}-*-*_linux64.AppImage"
PKGURL=$(epm tool eget --list --latest https://github.com/RPCS3/rpcs3-binaries-linux/releases $file) || fatal "Can't get package URL"
epm pack --install "$PKGNAME" "$PKGURL"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment