summaryrefslogtreecommitdiff
path: root/games-misc/opensfx/opensfx-1.0.3.ebuild
blob: e36280e714b0ae85690a74fef486cfb17979f7cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="OpenSFX data files for OpenTTD"
HOMEPAGE="https://wiki.openttd.org/en/Basesets/OpenSFX https://github.com/OpenTTD/OpenSFX"
SRC_URI="https://cdn.openttd.org/opensfx-releases/${PV}/${P}-source.tar.xz"
S="${WORKDIR}"/${P}-source

LICENSE="CC-BY-SA-3.0 CDDL-1.1 GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"

DEPEND="games-util/catcodec"

PATCHES=(
	"${FILESDIR}"/${PN}-1.0.3-no-which.patch
)

src_install() {
	emake INSTALL_DIR="${ED}/usr/share/openttd/baseset/" install
	dodoc docs/{changelog.txt,readme.ptxt}
}