2022-09-04 21:43:37 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2022-present Fewtarius
|
|
|
|
|
2023-03-17 16:40:00 +00:00
|
|
|
PKG_NAME="pcsx2-sa"
|
2023-07-09 15:54:11 +00:00
|
|
|
PKG_VERSION="v1.7.4709"
|
2022-09-04 21:43:37 +00:00
|
|
|
PKG_ARCH="x86_64"
|
|
|
|
PKG_LICENSE="GPLv3"
|
|
|
|
PKG_SITE="https://github.com/pcsx2/pcsx2"
|
2023-02-17 00:55:07 +00:00
|
|
|
PKG_URL="${PKG_SITE}/releases/download/${PKG_VERSION}/pcsx2-${PKG_VERSION}-linux-AppImage-64bit-Qt.AppImage"
|
2022-09-22 23:50:28 +00:00
|
|
|
PKG_LONGDESC="PS2 Emulator appimage"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
2022-09-13 22:49:46 +00:00
|
|
|
|
|
|
|
makeinstall_target() {
|
2022-09-22 23:50:28 +00:00
|
|
|
# Redefine strip or the AppImage will be stripped rendering it unusable.
|
|
|
|
export STRIP=true
|
2022-09-13 22:49:46 +00:00
|
|
|
mkdir -p ${INSTALL}/usr/bin
|
2022-09-22 23:50:28 +00:00
|
|
|
cp ${PKG_BUILD}/${PKG_NAME}-${PKG_VERSION}.AppImage ${INSTALL}/usr/bin/${PKG_NAME}
|
|
|
|
cp -rf ${PKG_DIR}/sources/start_pcsx2.sh ${INSTALL}/usr/bin
|
|
|
|
sed -e "s/@APPIMAGE@/${PKG_NAME}/g" -i ${INSTALL}/usr/bin/start_pcsx2.sh
|
|
|
|
chmod 755 ${INSTALL}/usr/bin/*
|
|
|
|
mkdir -p ${INSTALL}/usr/config
|
|
|
|
cp -rf ${PKG_DIR}/config/PCSX2 ${INSTALL}/usr/config
|
2022-09-13 22:49:46 +00:00
|
|
|
}
|