Lines 34-39
Link Here
|
34 |
|
34 |
|
35 |
src_prepare() { |
35 |
src_prepare() { |
36 |
rm -f license.txt |
36 |
rm -f license.txt |
|
|
37 |
|
38 |
epatch "${FILESDIR}"/fix_datadir_search.patch |
37 |
} |
39 |
} |
38 |
|
40 |
|
39 |
src_compile() { |
41 |
src_compile() { |
Lines 64-76
Link Here
|
64 |
} |
66 |
} |
65 |
|
67 |
|
66 |
src_install() { |
68 |
src_install() { |
67 |
exeinto "${dir}" |
69 |
dogamesbin ${PN}_srv || die "dogamesbin failed" |
68 |
doexe ${PN}_srv || die "dogamesbin failed" |
|
|
69 |
|
70 |
|
70 |
if ! use dedicated ; then |
71 |
if ! use dedicated ; then |
71 |
doexe ${PN} || die "dogamesbin failed" |
72 |
dogamesbin ${PN} || die "dogamesbin failed" |
72 |
newicon other/icons/Teeworlds.ico ${PN}.ico |
73 |
newicon other/icons/Teeworlds.ico ${PN}.ico |
73 |
games_make_wrapper ${PN} "./${PN}" "${dir}" |
|
|
74 |
make_desktop_entry ${PN} "Teeworlds" |
74 |
make_desktop_entry ${PN} "Teeworlds" |
75 |
insinto "${dir}" |
75 |
insinto "${dir}" |
76 |
doins -r data || die "doins failed" |
76 |
doins -r data || die "doins failed" |