2022-02-28 13:45:34 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
|
2022-03-05 18:16:09 +00:00
|
|
|
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
|
2022-02-28 13:45:34 +00:00
|
|
|
|
|
|
|
PKG_NAME="portmaster"
|
2022-03-14 14:11:16 +00:00
|
|
|
PKG_VERSION=""
|
2022-02-28 13:45:34 +00:00
|
|
|
PKG_ARCH="any"
|
|
|
|
PKG_URL="https://github.com/christianhaitian/PortMaster/raw/main/PortMaster.zip"
|
|
|
|
PKG_PRIORITY="optional"
|
|
|
|
PKG_SECTION="tools"
|
|
|
|
PKG_SHORTDESC="A simple tool that allows you to download various game ports that are available for Jelos"
|
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
pre_unpack() {
|
2022-03-14 21:20:13 +00:00
|
|
|
unzip sources/portmaster/portmaster-.zip -d ${PKG_BUILD}
|
2022-02-28 13:45:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
makeinstall_target() {
|
|
|
|
mkdir -p $INSTALL/usr/share/
|
|
|
|
cp -r $PKG_BUILD/PortMaster $INSTALL/usr/share/
|
2022-03-06 02:04:10 +00:00
|
|
|
|
|
|
|
mkdir -p ${INSTALL}/usr/lib/autostart/common
|
|
|
|
cp ${PKG_DIR}/sources/autostart/common/* ${INSTALL}/usr/lib/autostart/common
|
2022-02-28 13:45:34 +00:00
|
|
|
}
|