distribution/packages/games/tools/jelosaddons/package.mk

26 lines
849 B
Makefile
Raw Normal View History

2022-03-19 20:42:13 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="jelosaddons"
2022-06-27 12:22:32 +00:00
PKG_VERSION="56a4ada71dcd0d0cf1c6ba5c2058449f4ae4fcb2"
2022-03-19 20:42:13 +00:00
PKG_ARCH="any"
2022-05-13 14:40:45 +00:00
PKG_SITE="https://github.com/brooksytech/JelosAddOns"
PKG_URL="${PKG_SITE}/raw/${PKG_VERSION}/JelosAddOns.zip"
2022-03-19 20:42:13 +00:00
PKG_PRIORITY="optional"
PKG_SECTION="tools"
2022-05-13 14:40:45 +00:00
PKG_SHORTDESC="Additonal game ports and add ons not included with default install"
2022-03-19 20:42:13 +00:00
PKG_TOOLCHAIN="manual"
pre_unpack() {
2022-05-13 14:54:52 +00:00
unzip sources/jelosaddons/jelosaddons-${PKG_VERSION}.zip -d ${PKG_BUILD}
2022-03-19 20:42:13 +00:00
}
makeinstall_target() {
mkdir -p $INSTALL/usr/share/
cp -r ${PKG_BUILD}/JelosAddOns ${INSTALL}/usr/share/
chmod 0755 $INSTALL/usr/share/JelosAddOns
mkdir -p ${INSTALL}/usr/lib/autostart/common
cp ${PKG_DIR}/sources/autostart/common/* ${INSTALL}/usr/lib/autostart/common
}