Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 527442
Collapse All | Expand All

(-)old/gtkevemon-9999.ebuild (-13 / +2 lines)
Lines 8-18 Link Here
8
8
9
IUSE=""
9
IUSE=""
10
if [[ ${PV} == *9999* ]]; then
10
if [[ ${PV} == *9999* ]]; then
11
	inherit mercurial
11
	inherit git-r3
12
	EHG_REPO_URI="https://bitbucket.org/BattleClinic/${PN}"
12
	EGIT_REPO_URI="https://github.com/gtkevemon/${PN}"
13
	KEYWORDS=""
13
	KEYWORDS=""
14
	SRC_URI=""
14
	SRC_URI=""
15
	MY_S="${WORKDIR}/${P}/gtkevemon"
16
else
15
else
17
	KEYWORDS="~amd64 ~x86"
16
	KEYWORDS="~amd64 ~x86"
18
	SRC_URI="http://gtkevemon.battleclinic.com/releases/${P}-source.tar.gz"
17
	SRC_URI="http://gtkevemon.battleclinic.com/releases/${P}-source.tar.gz"
Lines 32-47 Link Here
32
	virtual/pkgconfig
31
	virtual/pkgconfig
33
"
32
"
34
33
35
src_unpack()
36
{
37
	if [[ ${PV} == *9999* ]]; then
38
		mercurial_src_unpack
39
		S=${MY_S}
40
	else
41
		default
42
	fi
43
}
44
45
src_prepare() {
34
src_prepare() {
46
	sed -e 's:Categories=Game;$:Categories=Game;RolePlaying;GTK;:' \
35
	sed -e 's:Categories=Game;$:Categories=Game;RolePlaying;GTK;:' \
47
		-i icon/${PN}.desktop || die "sed failed"
36
		-i icon/${PN}.desktop || die "sed failed"

Return to bug 527442