1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools eutils user
7 DESCRIPTION="A simple console game, where you drive a car across the moon's surface"
8 HOMEPAGE="http://www.seehuhn.de/comp/moon-buggy.html"
9 SRC_URI="http://www.seehuhn.de/data/${P}.tar.gz"
13 KEYWORDS="~amd64 ~arm ~x86"
16 RDEPEND="sys-libs/ncurses:0"
27 -e '/$(DESTDIR)$(bindir)\/moon-buggy -c/d' \
35 --sharedstatedir="/var/games" \
36 --with-curses-libs="$(pkg-config ncurses --libs)"
41 touch "${D}/var/games/${PN}/mbscore"
42 fowners root:gamestat /usr/bin/${PN} /var/games/${PN} /var/games/${PN}/mbscore
43 fperms 2755 /usr/bin/${PN}
44 fperms 664 /var/games/${PN}/mbscore