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

25 lines
807 B
Makefile
Raw Normal View History

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"
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 16:24:14 +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/
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
}