summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-21 22:58:05 +0100
committerSam James <sam@gentoo.org>2021-08-23 05:05:50 +0100
commit79e3a0b6f9b2c44bb8acb559c1670302a796482c (patch)
tree530c5a7c08c867733bcd217a6d2700e4795d9968 /games-roguelike
parentgames-puzzle/tiny-and-big: use non-relative wrapper path (diff)
downloadgentoo-79e3a0b6f9b2c44bb8acb559c1670302a796482c.tar.gz
gentoo-79e3a0b6f9b2c44bb8acb559c1670302a796482c.tar.bz2
gentoo-79e3a0b6f9b2c44bb8acb559c1670302a796482c.zip
games-roguelike/dwarf-fortress: tidy ebuild
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/dwarf-fortress/dwarf-fortress-0.44.12.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/games-roguelike/dwarf-fortress/dwarf-fortress-0.44.12.ebuild b/games-roguelike/dwarf-fortress/dwarf-fortress-0.44.12.ebuild
index dfcfe78cf3cf..7a4dab115c0c 100644
--- a/games-roguelike/dwarf-fortress/dwarf-fortress-0.44.12.ebuild
+++ b/games-roguelike/dwarf-fortress/dwarf-fortress-0.44.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -13,11 +13,13 @@ DESCRIPTION="A single-player fantasy game"
HOMEPAGE="https://www.bay12games.com/dwarves"
SRC_URI="amd64? ( https://www.bay12games.com/dwarves/${MY_P}_linux.tar.bz2 )
x86? ( https://www.bay12games.com/dwarves/${MY_P}_linux32.tar.bz2 )"
+S="${WORKDIR}"/${MY_PN}_linux
LICENSE="free-noncomm BSD BitstreamVera"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="debug"
+RESTRICT="strip"
RDEPEND="media-libs/glew:0
media-libs/libsdl[joystick,video]
@@ -34,11 +36,8 @@ DEPEND="${RDEPEND}
sys-libs/ncurses-compat:5[unicode]
virtual/pkgconfig"
-S=${WORKDIR}/${MY_PN}_linux
-
gamesdir="/opt/${PN}"
QA_PREBUILT="${gamesdir#/}/libs/Dwarf_Fortress"
-RESTRICT="strip"
src_prepare() {
rm -f libs/*.so* || die