diff options
author | brahmajit das <brahmajit.xyz@gmail.com> | 2022-07-11 19:42:01 +0530 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-18 18:39:36 +0000 |
commit | ff37d218af5e6792d06356534cad5ace855291e0 (patch) | |
tree | 820fed03c088307fa91281769f205b403c587e37 /games-strategy/augustus | |
parent | net-misc/gsasl: use libgssglue (diff) | |
download | gentoo-ff37d218af5e6792d06356534cad5ace855291e0.tar.gz gentoo-ff37d218af5e6792d06356534cad5ace855291e0.tar.bz2 gentoo-ff37d218af5e6792d06356534cad5ace855291e0.zip |
games-strategy/augustus: version bump
Signed-off-by: brahmajit das <listout@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-strategy/augustus')
-rw-r--r-- | games-strategy/augustus/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/augustus/augustus-3.1.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/games-strategy/augustus/Manifest b/games-strategy/augustus/Manifest index d495e4cf7676..4028502c621b 100644 --- a/games-strategy/augustus/Manifest +++ b/games-strategy/augustus/Manifest @@ -1 +1,2 @@ DIST augustus-3.0.1.tar.gz 47539500 BLAKE2B 43e808959f176e4024866074c227814e2be75175cbbca60fbc430a7617941766b8a00ae6f56c08239c5ed8cd60d637109e963eba859c78d60f7b37d54079e7c4 SHA512 4929763a4436863525c4d3f93570090ce066ea2abfe56766d991b7ebc03b34fc53fc8c6dcbb7f5c96e2e10d233bb5966581d148db7d7ea2eac5c1435cc4327bd +DIST augustus-3.1.0.tar.gz 97754907 BLAKE2B 2f30458538a3395b15da1ff1da68e6be4618e51e5e6b0ab89d5215292ff8d67beb5467152caa698bd408bd4c890183ac7109c02a4bbb1e72dc0e94d3c33f6cc3 SHA512 b1831cbaa4d3bac5991aca8fdc1299a4536147d780e328d0e09bb68f71c155eccfd0b087aa9a412868aee6853fd327922481251b8c510a131148d9b31c424536 diff --git a/games-strategy/augustus/augustus-3.1.0.ebuild b/games-strategy/augustus/augustus-3.1.0.ebuild new file mode 100644 index 000000000000..1adb27ab8703 --- /dev/null +++ b/games-strategy/augustus/augustus-3.1.0.ebuild @@ -0,0 +1,51 @@ +# 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" +) + +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 +} |