summaryrefslogtreecommitdiff
path: root/games-action/moon-buggy
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /games-action/moon-buggy
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'games-action/moon-buggy')
-rw-r--r--games-action/moon-buggy/Manifest1
-rw-r--r--games-action/moon-buggy/metadata.xml9
-rw-r--r--games-action/moon-buggy/moon-buggy-1.0.51-r1.ebuild42
3 files changed, 52 insertions, 0 deletions
diff --git a/games-action/moon-buggy/Manifest b/games-action/moon-buggy/Manifest
new file mode 100644
index 000000000000..260844a8df61
--- /dev/null
+++ b/games-action/moon-buggy/Manifest
@@ -0,0 +1 @@
+DIST moon-buggy-1.0.51.tar.gz 263572 BLAKE2B d298b04116a5bc7735f672c067efa688dbea153dbc309a6e371b970b7a31648a337af872513bd94b5d01981fdf5595ca326cca11503d138cfcbe126f18ef55e9 SHA512 34da2ca8b79d4f95a762cb7142586d176fd1b58ea6f4375de424d73d6046c2dc3dbae30dddb3a78c8c2563fbfec01d9eaafe27b79cc78ffa22121ad5a2e9dc77
diff --git a/games-action/moon-buggy/metadata.xml b/games-action/moon-buggy/metadata.xml
new file mode 100644
index 000000000000..972e3be0ecc4
--- /dev/null
+++ b/games-action/moon-buggy/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-action/moon-buggy/moon-buggy-1.0.51-r1.ebuild b/games-action/moon-buggy/moon-buggy-1.0.51-r1.ebuild
new file mode 100644
index 000000000000..828120c3cab0
--- /dev/null
+++ b/games-action/moon-buggy/moon-buggy-1.0.51-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="A simple console game, where you drive a car across the moon's surface"
+HOMEPAGE="https://www.seehuhn.de/pages/moon-buggy.html"
+SRC_URI="https://m.seehuhn.de/programs/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND="acct-group/gamestat
+ sys-libs/ncurses:0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ default
+ sed -i \
+ -e '/$(DESTDIR)$(bindir)\/moon-buggy -c/d' \
+ Makefile.am || die
+ rm -f missing
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --sharedstatedir="/var/games" \
+ --with-curses-libs="$(pkg-config ncurses --libs)"
+}
+
+src_install() {
+ default
+ touch "${D}/var/games/${PN}/mbscore"
+ fowners root:gamestat /usr/bin/${PN} /var/games/${PN} /var/games/${PN}/mbscore
+ fperms 2755 /usr/bin/${PN}
+ fperms 664 /var/games/${PN}/mbscore
+}