summaryrefslogtreecommitdiff
path: root/games-puzzle/mindless
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/mindless
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/mindless')
-rw-r--r--games-puzzle/mindless/Manifest3
-rw-r--r--games-puzzle/mindless/mindless-1.6-r1.ebuild62
-rw-r--r--games-puzzle/mindless/mindless-1.6.ebuild54
3 files changed, 64 insertions, 55 deletions
diff --git a/games-puzzle/mindless/Manifest b/games-puzzle/mindless/Manifest
index 0bdfc8214008..e8364b713aa5 100644
--- a/games-puzzle/mindless/Manifest
+++ b/games-puzzle/mindless/Manifest
@@ -1,4 +1,5 @@
DIST OracleAll_050523.txt 1280717 BLAKE2B 8ae2c78cd0c1453785d5d5e382804e2e186d481a0195a92a93adf091dcd51833311d9111806641eff4489a47842eb362f09d9a6d69973817619c07b9be1cadd2 SHA512 d2d46e330a697974bc6c69b8616bdd08c959d1b20840468ccb20ca22a105d7cfac01dd0262113804fb84e790cb1f8ad439c1aa3c17927551617ec2f6de5b83e5
DIST mindless-1.6.tar.gz 85620 BLAKE2B 5922cdb31ec83a0e7cda6c8646c75f35d1e52ce96711b62bd5749762e5074b39568f499bcd3dce39e4bb6d9d7e70097d62c310235bb59f1eda790d057197544a SHA512 bcb47311aebc127e30e10931e489cbbdb80845c6d95008834abab7ecbb7565eb61a38f47e68d24db5ed9da2cb3467fdaccccd05c6eaaca403afaf41cc76a991f
-EBUILD mindless-1.6.ebuild 1219 BLAKE2B 44f6dcff8980aa7455a4e6aea55c14509142cbaefc06dd9ed34bc5b45b67449f7858d297995336c984bf266e8ff767d039b3ec0185d22e7ade399c698ace6330 SHA512 daf1d1b92265755623e86d641331b0c2aed20a0b1d2f3fe71c0888c3072783b34509fead4d750dccba88d64e6459fb06d6cb956bea506184253bd439a725bb46
+DIST mindless.png 5119 BLAKE2B 19796bda1bc29c7a78a91cf083e98ef1a51fae0581cece3f8822f2474011cab5d20d0ffc797ef83912cebe406816271d67016cfef86393fe554c03dd42956541 SHA512 1a26d6f241889887a4464555189f25936e3961ef6df113dd4d3eab0f60699ea6bba9af3d88517e61ae9ad9dfc630e663a9d4c7ff0876ff3bcf21cbcee6a7f50a
+EBUILD mindless-1.6-r1.ebuild 1364 BLAKE2B 2a4bcd5db9a7155a0068502b1d4fe8489ec7d2a178383551ac0c1af82a74996cc28daff359d393a493910a978818c409b2c04baab93a0e0616f89a71fac4cdf8 SHA512 28097522c5e04e79bc7036e74cf5c728a99d39c10fba8808af23a5589e13e2238277193d91222529fe036a93abebb828c36944ae9249edef0d313debea9b7375
MISC metadata.xml 331 BLAKE2B 7663f41ea5c4e0ce0680d1815f4d62ff469d25274a253aad5c9597836eaa1fb392636730c25b4535ecba191518b8a4a5cbf2f6cfc58767dcda05738bf3157f30 SHA512 bae00e9836e3224a3f2c4fc7c6be572153b8693f42de869c4670edc2c5b8f103182a5f7c97ab2abd7744a29b0ed30f2c5dc56c7c661bdc28f14aaa5355eb5b5a
diff --git a/games-puzzle/mindless/mindless-1.6-r1.ebuild b/games-puzzle/mindless/mindless-1.6-r1.ebuild
new file mode 100644
index 000000000000..4777d0640580
--- /dev/null
+++ b/games-puzzle/mindless/mindless-1.6-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop readme.gentoo-r1
+
+ORANAME="OracleAll_050523.txt"
+DESCRIPTION="Play trading card games (Magic: the Gathering etc.) against other people"
+HOMEPAGE="http://mindless.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz
+ http://www.wizards.com/dci/oracle/${ORANAME}
+ http://mindless.sourceforge.net/images/logo.png -> ${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="mirror" # for the card database
+
+RDEPEND="
+ x11-libs/gtk+:2
+ media-fonts/font-schumacher-misc
+"
+DEPEND="${RDEPEND}
+ gnome-base/librsvg:2
+ virtual/pkgconfig
+"
+
+DATAFILE="/usr/share/${PN}/${ORANAME}"
+DOC_CONTENTS="
+ The first time you start ${PN} you need to tell it where to find
+ the text database of cards. This file has been installed at:
+ ${DATAFILE}
+"
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ cp "${DISTDIR}/${ORANAME}" "${WORKDIR}" || die "cp failed"
+}
+
+src_prepare() {
+ default
+ sed -i \
+ -e '/^CC=/d' \
+ -e '/^CFLAGS=/d' \
+ Makefile \
+ || die 'sed failed'
+}
+
+src_install() {
+ dobin mindless
+ insinto "/usr/share/${PN}"
+ doins "${WORKDIR}/${ORANAME}"
+ einstalldocs
+ readme.gentoo_create_doc
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} "Mindless Automaton"
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}
diff --git a/games-puzzle/mindless/mindless-1.6.ebuild b/games-puzzle/mindless/mindless-1.6.ebuild
deleted file mode 100644
index 2bc3f3b408c3..000000000000
--- a/games-puzzle/mindless/mindless-1.6.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit games
-
-ORANAME="OracleAll_050523.txt"
-DESCRIPTION="Play trading card games (Magic: the Gathering etc.) against other people"
-HOMEPAGE="http://mindless.sourceforge.net/"
-SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz
- http://www.wizards.com/dci/oracle/${ORANAME}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror" # for the card database
-
-RDEPEND="x11-libs/gtk+:2
- media-fonts/font-schumacher-misc"
-DEPEND="${RDEPEND}
- gnome-base/librsvg
- virtual/pkgconfig"
-
-src_unpack() {
- unpack "${P}.tar.gz"
- cp "${DISTDIR}/${ORANAME}" "${WORKDIR}" || die "cp failed"
- DATAFILE="${GAMES_DATADIR}/${PN}/${ORANAME}"
-}
-
-src_prepare() {
- sed -i \
- -e '/^CC=/d' \
- -e '/^CFLAGS=/d' \
- Makefile \
- || die 'sed failed'
-}
-
-src_install() {
- dogamesbin mindless
- insinto "${GAMES_DATADIR}/${PN}"
- doins "${WORKDIR}/${ORANAME}"
- dodoc CHANGES README TODO
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- echo
- elog "The first time you start ${PN} you need to tell it where to find"
- elog "the text database of cards. This file has been installed at:"
- elog "${DATAFILE}"
- echo
-}