summaryrefslogtreecommitdiff
path: root/games-puzzle/seatris
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/seatris
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/seatris')
-rw-r--r--games-puzzle/seatris/Manifest6
-rw-r--r--games-puzzle/seatris/files/seatris-0.0.14-as-needed.patch11
-rw-r--r--games-puzzle/seatris/metadata.xml8
-rw-r--r--games-puzzle/seatris/seatris-0.0.14.ebuild39
4 files changed, 64 insertions, 0 deletions
diff --git a/games-puzzle/seatris/Manifest b/games-puzzle/seatris/Manifest
new file mode 100644
index 000000000000..481683cd13c6
--- /dev/null
+++ b/games-puzzle/seatris/Manifest
@@ -0,0 +1,6 @@
+AUX seatris-0.0.14-as-needed.patch 215 SHA256 9f4960b8b16b0449de238b5b0acc7e5d054613818d370d323e7ff31f6c5375d7 SHA512 587f8f4f555b6a97d38a0c7bb8069674e6612ff5e3027b7c7327a02178aabdc20a6d32f63b7a667eac31480e435f575844afdd79523707d0fcf586417d8fd38b WHIRLPOOL 76be32daf1705d14f46bf9598b3652820c87918aa881eb6116d271b1d9e6f265a40ff835b3243935c7c0c1d10cc4ea0e23422b1ae07d68190d27140e428a36fe
+DIST seatris-0.0.14.tar.gz 53056 SHA256 797ec1403dec2e6c790ec77d41bc5201055cfbef4d9ad7054270845c909d0a2e SHA512 105722ddbeaa8ae3863331126cf816e7d590ebe4ca244b32d3275071c2537c2865183a90f60f8dbf46cfacbcee4e811b653ff9cc6d2eae51c9ed6efa9263fac2 WHIRLPOOL 97a509c9a2c5cc6595e647029a69ad59bf20df255a958ce777a3598dcaeb7055a98cf8b2897d08ac0230bb71ff80684d45bcb9367c67699fd66157f809f28964
+EBUILD seatris-0.0.14.ebuild 913 SHA256 2ac281576580edfade01c9aa973290e35a59a396e6b3c3c23a928d8ca6d68df6 SHA512 aad1634574da19ff91150c361e19137b403068a12de83666a441bccd0500b576f8e835c39db65a7cdbc1fe7f95a021557d2ab2f0bb08278420154ba5de02672a WHIRLPOOL 9817cff056f224cdb1be2934c7894ee48ca066a32420c18774e338c2d21f4102dd336da2e1b1368b4d4188cc972658f792426a4e388ccde47e361d98c28933d2
+MISC ChangeLog 2474 SHA256 b1452e51c556840d25c440d074f1d2ef3aff817ea315de7ce33e790c64309ef2 SHA512 b32aa964a508fe7a9e9c768c48ffa412e1e58bab6dffd4d3277c1be5283c13fa186989c095ce160a20324a10d8223db097fe41ac1a9dadb634caf8b228aaa409 WHIRLPOOL 6a90fd41ee2017e9c0ae751b44cd7309d063e0499f743a7b18c90c4408005487ec44359206ede42dacb92bdef4f71cd39b59a6c030f7e2621a4ba1482ca90e06
+MISC ChangeLog-2015 1517 SHA256 5d252e735a61d682b18c8b8d61d256c2b133c923d8bd4f83ba14d806cc229e6c SHA512 c7959042386b6ba4d87c2837fc0845c78c7f8283a15238c01a3088444e4d1e2c2fe7f8df2ecd39529150b0f3144afaafef08ab24c89feb25a383db50d698beab WHIRLPOOL e1fb0a9be172016c9f349cf4a7a641dca36f5ae1161ddd06389bd32f5ab7a56d9e7d976b92105a0081c57e570e997e6b08a78d9229009eb749beecc3b2c3c672
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
diff --git a/games-puzzle/seatris/files/seatris-0.0.14-as-needed.patch b/games-puzzle/seatris/files/seatris-0.0.14-as-needed.patch
new file mode 100644
index 000000000000..e77c0dd75077
--- /dev/null
+++ b/games-puzzle/seatris/files/seatris-0.0.14-as-needed.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -11,7 +11,7 @@
+ parse.o readcfg.o
+
+ seatris: $(OBJS)
+- $(CC) $(LFLAGS) $(LIBS) -o seatris $(OBJS)
++ $(CC) $(LDFLAGS) -o seatris $(OBJS) $(LIBS)
+
+ clean:
+ rm -f *.o seatris
diff --git a/games-puzzle/seatris/metadata.xml b/games-puzzle/seatris/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-puzzle/seatris/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/games-puzzle/seatris/seatris-0.0.14.ebuild b/games-puzzle/seatris/seatris-0.0.14.ebuild
new file mode 100644
index 000000000000..19c5e07f0822
--- /dev/null
+++ b/games-puzzle/seatris/seatris-0.0.14.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="A color ncurses tetris clone"
+HOMEPAGE="http://www.earth.li/projectpurple/progs/seatris.html"
+SRC_URI="http://www.earth.li/projectpurple/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${DEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e "s:/var/lib/games:${GAMES_STATEDIR}:" \
+ scoring.h seatris.6 || die
+
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+}
+
+src_compile() {
+ emake LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )"
+}
+
+src_install () {
+ dogamesbin seatris
+ doman seatris.6
+ dodoc ACKNOWLEDGEMENTS HISTORY README TODO example.seatrisrc
+ dodir "${GAMES_STATEDIR}"
+ touch "${D}${GAMES_STATEDIR}/seatris.score"
+ fperms 660 "${GAMES_STATEDIR}/seatris.score"
+ prepgamesdirs
+}