24 lines
935 B
Makefile
24 lines
935 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2023-present BrooksyTech (https://github.com/brooksytech)
|
|
|
|
PKG_NAME="aethersx2"
|
|
PKG_VERSION="v1.5-3606"
|
|
PKG_ARCH="aarch64"
|
|
PKG_LICENSE="LGPL"
|
|
PKG_SITE="https://www.aethersx2.com"
|
|
PKG_URL="${PKG_SITE}/archive/desktop/linux/AetherSX2-${PKG_VERSION}.AppImage"
|
|
PKG_DEPENDS_TARGET="toolchain qt5 libgpg-error"
|
|
PKG_LONGDESC="Arm PS2 Emulator appimage"
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
makeinstall_target() {
|
|
# Redefine strip or the AppImage will be stripped rendering it unusable.
|
|
export STRIP=true
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
cp ${PKG_BUILD}/${PKG_NAME}-${PKG_VERSION}.AppImage ${INSTALL}/usr/bin/${PKG_NAME}
|
|
cp -rf ${PKG_DIR}/scripts/start_aethersx2.sh ${INSTALL}/usr/bin
|
|
sed -e "s/@APPIMAGE@/${PKG_NAME}/g" -i ${INSTALL}/usr/bin/start_aethersx2.sh
|
|
chmod 755 ${INSTALL}/usr/bin/*
|
|
mkdir -p ${INSTALL}/usr/config
|
|
cp -rf ${PKG_DIR}/config/aethersx2 ${INSTALL}/usr/config
|
|
}
|