distribution/packages/games/tools/wolfscan/package.mk
travis134 64bf345a6c
bump
2022-08-26 20:44:09 -07:00

22 lines
821 B
Makefile

# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2022-present travis134
PKG_NAME="wolfscan"
PKG_VERSION="e605830490adb6738774541e2117312d02153b1d"
PKG_ARCH="any"
PKG_SITE="https://github.com/travis134/wolfscan"
PKG_URL="${PKG_SITE}.git"
PKG_PRIORITY="optional"
PKG_SECTION="tools"
PKG_SHORTDESC="Creates .ecwolf files based on user selection of WAD and PK3 files."
PKG_TOOLCHAIN="manual"
makeinstall_target() {
mkdir -p ${INSTALL}/usr/share
cp -r ${PKG_BUILD}/wolfscan ${INSTALL}/usr/share
cp "${PKG_BUILD}/_Scan Wolfenstein 3D Games.sh" ${INSTALL}/usr/share/wolfscan
chmod 0755 ${INSTALL}/usr/share/wolfscan "${INSTALL}/usr/share/wolfscan/_Scan Wolfenstein 3D Games.sh"
mkdir -p ${INSTALL}/usr/lib/autostart/common
cp ${PKG_DIR}/sources/autostart/common/* ${INSTALL}/usr/lib/autostart/common
}