gentoo/games-util/acc/acc-1.60.ebuild
James Le Cuirot 59f8405ed2
games-util/acc: Patch to fix build with CMake 4
Thanks to NHOrus for their help with this.

Closes: https://bugs.gentoo.org/951932
Closes: https://github.com/gentoo/gentoo/pull/41267
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2025-04-17 23:06:42 +01:00

29 lines
657 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="ACS script compiler for use with ZDoom and Hexen"
HOMEPAGE="https://zdoom.org/wiki/ACC"
SRC_URI="https://github.com/ZDoom/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Activision"
SLOT="0"
KEYWORDS="~amd64"
# The Activision EULA is inappropriate but this was never resolved. :(
# https://doomwiki.org/wiki/Raven_source_code_licensing
RESTRICT="bindist mirror"
PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
src_install() {
dobin "${BUILD_DIR}"/${PN}
dodoc readme.md
insinto /usr/share/${PN}
doins *.acs
}