mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
retroarch-joypads: bump package
This commit is contained in:
@@ -1,30 +1,19 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
# Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX)
|
||||
|
||||
PKG_NAME="retroarch-joypads"
|
||||
PKG_VERSION="07bc9d42b067960521c900e364c9571662a975b1"
|
||||
PKG_VERSION="519124ef540c4c30cc0405e5b0f8e704830f39e2"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="https://github.com/libretro/retroarch-joypad-autoconfig"
|
||||
PKG_URL="${PKG_SITE}.git"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_URL="https://github.com/libretro/retroarch-joypad-autoconfig/archive/${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET=""
|
||||
PKG_LONGDESC="RetroArch joypad autoconfigs."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
make_target() {
|
||||
:
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
INSTALLDIR="${INSTALL}/usr/share/libretro/autoconfig"
|
||||
mkdir -p ${INSTALLDIR}
|
||||
for JOYDIR in linuxraw sdl2 udev x xinput
|
||||
do
|
||||
cp ${PKG_BUILD}/${JOYDIR}/*cfg ${INSTALLDIR}
|
||||
done
|
||||
if [ -d "${PKG_DIR}/gamepads" ]
|
||||
then
|
||||
cp -r ${PKG_DIR}/gamepads/* ${INSTALLDIR} ||:
|
||||
fi
|
||||
mkdir -p ${INSTALL}/usr/share/libretro/autoconfig
|
||||
cp -a ${PKG_BUILD}/{linuxraw,sdl2,udev,x,xinput}/*.cfg ${INSTALL}/usr/share/libretro/autoconfig
|
||||
cp -a ${PKG_DIR}/gamepads/* ${INSTALL}/usr/share/libretro/autoconfig
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
||||
Reference in New Issue
Block a user