Commit ef3dffbd authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add pcsx2

parent 66a8340b
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
. $(dirname $0)/common.sh
# pcsx2-v1.7.4767-linux-appimage-x64-Qt.AppImage
VERSION="$(basename "$TAR" | sed -e 's|^pcsx2-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=pcsx2
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="PCSX2 - free and open-source PlayStation 2 (PS2) emulator from the official site"
URL="https://github.com/PCSX2/pcsx2/releases"
. $(dirname $0)/common.sh
# https://github.com/PCSX2/pcsx2/releases/download/v1.7.4767/pcsx2-v1.7.4767-linux-appimage-x64-Qt.AppImage
file="pcsx2-v${VERSION}-linux-appimage-x64-Qt.AppImage"
PKGURL=$(epm tool eget --list --latest https://github.com/PCSX2/pcsx2/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