/[gentoo-x86]/games-puzzle/trimines/trimines-1.3.0.ebuild
Gentoo

Contents of /games-puzzle/trimines/trimines-1.3.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed Feb 11 20:03:44 2015 UTC (4 years, 11 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
remove uninstallable package (bug #534344)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/trimines/trimines-1.3.0.ebuild,v 1.11 2015/02/11 19:49:49 ulm Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="A mine sweeper game that uses triangles instead of squares"
9 HOMEPAGE="http://www.freewebs.com/trimines/"
10 SRC_URI="http://www.gnu-darwin.org/distfiles/${P}.tar.gz"
11
12 LICENSE="all-rights-reserved"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc x86"
15 IUSE=""
16 RESTRICT="mirror bindist"
17
18 DEPEND="media-libs/libsdl[video]"
19 RDEPEND="${DEPEND}"
20
21 src_prepare() {
22 sed -i \
23 -e "s:data/:${GAMES_DATADIR}/${PN}/:" src/gfx.c \
24 || die "sed failed"
25 epatch "${FILESDIR}"/${P}-gentoo.patch
26 }
27
28 src_install() {
29 dogamesbin "${PN}"
30 insinto "${GAMES_DATADIR}/${PN}"
31 doins -r data/*
32 dodoc README
33 make_desktop_entry "${PN}" TriMines
34 prepgamesdirs
35 }

  ViewVC Help
Powered by ViewVC 1.1.20