distribution/packages/games/tools/portmaster/package.mk
Brooksytech eb4ef9e8d4
Remove Portmaster version to grab latest package.
This change should force the build script to grab the latest portmaster zip every build.

The file is small so this should not cause any delays.
2022-03-14 07:11:16 -07:00

24 lines
804 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
# Copyright (C) 2022-present BrooksyTech (https://github.com/brooksytech)
PKG_NAME="portmaster"
PKG_VERSION=""
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() {
unzip sources/portmaster/portmaster-.zip -d $PKG_BUILD
}
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
}