summaryrefslogtreecommitdiff
path: root/games-strategy/augustus/augustus-3.0.1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-11 14:19:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-11 14:19:56 +0100
commit34d4f34516ab568ad4ea24fc16ee0ad9ec8ad079 (patch)
tree3339f6fc30715c2fbe1d20281f6ddc53eda3f9b4 /games-strategy/augustus/augustus-3.0.1.ebuild
parent32eff0cac517b699efc32b86520bac482961a57f (diff)
gentoo auto-resync : 11:08:2022 - 14:19:56
Diffstat (limited to 'games-strategy/augustus/augustus-3.0.1.ebuild')
-rw-r--r--games-strategy/augustus/augustus-3.0.1.ebuild52
1 files changed, 0 insertions, 52 deletions
diff --git a/games-strategy/augustus/augustus-3.0.1.ebuild b/games-strategy/augustus/augustus-3.0.1.ebuild
deleted file mode 100644
index e9e88193f601..000000000000
--- a/games-strategy/augustus/augustus-3.0.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg cmake readme.gentoo-r1
-
-DESCRIPTION="Feature-enhanced open source re-implementation of Caesar III"
-HOMEPAGE="https://github.com/Keriew/augustus"
-SRC_URI="https://github.com/Keriew/augustus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="AGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
-IUSE="uncapped"
-
-DEPEND="
- dev-libs/expat
- media-libs/libpng:0=
- media-libs/libsdl2[joystick,video,sound]
- media-libs/sdl2-mixer
-"
-RDEPEND="
- ${DEPEND}
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.0.1-desktop_rename.patch"
- "${FILESDIR}/${PN}-3.0.1-musl-fix-execinfo.patch"
-)
-
-src_prepare() {
- use uncapped && eapply "${FILESDIR}"/${PN}-3.0.1-uncapped.patch
- cmake_src_prepare
-}
-
-src_install() {
- cmake_src_install
- dodir /usr/libexec
- mv "${ED}/usr/bin/augustus" "${ED}/usr/libexec/augustus-game" ||
- die "Failed to rename executable (required to set default resources location)."
- newbin - augustus-game <<-EOF
- #!/usr/bin/env sh
- exec "${EPREFIX}/usr/libexec/augustus-game" "\${1:-\${HOME}/.local/share/julius/app}"
- EOF
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- readme.gentoo_print_elog
-}