summaryrefslogtreecommitdiff
path: root/games-puzzle/tod
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-puzzle/tod
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/tod')
-rw-r--r--games-puzzle/tod/Manifest4
-rw-r--r--games-puzzle/tod/files/tod-0-makefile.patch4
-rw-r--r--games-puzzle/tod/tod-0-r1.ebuild (renamed from games-puzzle/tod/tod-0.ebuild)22
3 files changed, 16 insertions, 14 deletions
diff --git a/games-puzzle/tod/Manifest b/games-puzzle/tod/Manifest
index a70b52a441e5..5d5da4e54316 100644
--- a/games-puzzle/tod/Manifest
+++ b/games-puzzle/tod/Manifest
@@ -1,4 +1,4 @@
-AUX tod-0-makefile.patch 332 BLAKE2B 362cce9d762fec5116fd97c10026a327e2b45650e456e8e23e4ec58a96c65ddc8451f8d9a2278fc9d37fc033f84d7f1ec481b8b963d40df82e3d118c31ffb88f SHA512 2490154631db2fc66bdd6ea9dfd8e584625b2b416395450b2e054d13d9ea5b327cbed4fcc66e6586f4746a21429ed709f05cfb8c7c6a5e171c1a001663a4d245
+AUX tod-0-makefile.patch 336 BLAKE2B 914b05d5bf298a3d60c6ac836ef45127c253859fa8b620adf5827abbc3dd3375c02eebd614ab79277bd3c52f7f383a4b4458e80d8fabd8549e4d49ca5702959f SHA512 efd342bfedacdb1dcd20d5a938a02c555c7d260bf9584a0d6d24c4aa0617df7ba8e37fdfacc5b0e0f600a2cae752e50347ba8b6992c5ba2dc22c1b62306e7438
DIST wintod.zip 115653 BLAKE2B 9c54be567954892eabc353bf5985579ff11fcb9e00304bf92792ef787bbaccf29084c68a58faae46229856fae103c4b27c462b62c2da489bfe635d474fd564ef SHA512 8cc203d9745cc4855c58c2f9119d06a1f02e1ecb9c1cc2c1dc1f1c77e5aa0553925bdcba3d744db462bbc77f3637a42e35a579a8807c8098aa2fde7452cc30cc
-EBUILD tod-0.ebuild 730 BLAKE2B 567c5df329a6f4ba4dc89a661f23d569d0e9e7edd59f1163864e0b7f30b3e7b05de95bc89dc190d5531826a50107153631898085c5dc28a1fed515a306397e1c SHA512 722f623ec308366f1df18309245c89f24bf2afdcd2e6ef13640dc33c9d0a6428c4a3e29ecb114bd3abe35aae39195505a08da8849078c25e708ff24d3961592c
+EBUILD tod-0-r1.ebuild 748 BLAKE2B a78c2a73d87c13263a8400df1312e2c9d02972d92a2882080a6801e1a7dac7c8bd6545ce8546bcbc31d8927888b4c09a673985316d4b637fa4cbca2f33f74071 SHA512 e3b4566e211a670b1fce84958e79d95dee9af188ce73ce415976fc835f44f77639b989e3c3c8ceaf8d6e1a768bd239364a1e14ca08d19171fd57ffe01e429612
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/tod/files/tod-0-makefile.patch b/games-puzzle/tod/files/tod-0-makefile.patch
index cd17d1cce42b..9783fab0c4bc 100644
--- a/games-puzzle/tod/files/tod-0-makefile.patch
+++ b/games-puzzle/tod/files/tod-0-makefile.patch
@@ -1,5 +1,5 @@
---- makefile
-+++ makefile
+--- a/makefile
++++ b/makefile
@@ -1,8 +1,7 @@
OBJ = hiscore rec scrctl tetanus crc allegdlg hgrcos
HEADS = tod.h allegdlg.h crc.h hgrcos.h hiscore.h
diff --git a/games-puzzle/tod/tod-0.ebuild b/games-puzzle/tod/tod-0-r1.ebuild
index 98278d52a037..0ed9a29063f0 100644
--- a/games-puzzle/tod/tod-0.ebuild
+++ b/games-puzzle/tod/tod-0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Tetanus On Drugs simulates playing Tetris under the influence of drugs"
HOMEPAGE="http://www.pineight.com/tod/"
@@ -15,21 +15,23 @@ IUSE=""
RDEPEND="media-libs/allegro:0[X]"
DEPEND="${RDEPEND}
- app-arch/unzip"
+ app-arch/unzip
+"
-S=${WORKDIR}
+S="${WORKDIR}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch
+ default
+ eapply "${FILESDIR}"/${P}-makefile.patch
sed -i \
- -e "s:idltd\.dat:${GAMES_DATADIR}/${PN}/idltd.dat:" \
+ -e "s:idltd\.dat:/usr/share/${PN}/idltd.dat:" \
rec.c || die
}
src_install() {
- newgamesbin tod-debug.exe tod
- insinto "${GAMES_DATADIR}"/${PN}
+ newbin tod-debug.exe tod
+ insinto /usr/share/${PN}
doins idltd.dat
dodoc readme.txt
- prepgamesdirs
+ make_desktop_entry ${PN} "Tetanus On Drugs"
}