|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
|
3 |
|
| 4 |
EAPI=6 |
4 |
EAPI=6 |
| 5 |
inherit eutils |
5 |
inherit eutils autotools |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="Typing tutorial with lots of eye-candy" |
7 |
DESCRIPTION="Typing tutorial with lots of eye-candy" |
| 8 |
HOMEPAGE="https://github.com/tux4kids/tuxtype" |
8 |
HOMEPAGE="https://github.com/tux4kids/tuxtype" |
|
Lines 24-29
Link Here
|
| 24 |
|
24 |
|
| 25 |
S=${WORKDIR}/${PN}-upstream-${PV} |
25 |
S=${WORKDIR}/${PN}-upstream-${PV} |
| 26 |
|
26 |
|
|
|
27 |
PATCHES=( |
| 28 |
"${FILESDIR}/${P}-games-group.patch" |
| 29 |
) |
| 30 |
|
| 31 |
src_prepare() { |
| 32 |
default |
| 33 |
eautoreconf |
| 34 |
} |
| 35 |
|
| 27 |
src_configure() { |
36 |
src_configure() { |
| 28 |
econf \ |
37 |
econf \ |
| 29 |
--localedir=/usr/share/locale \ |
38 |
--localedir=/usr/share/locale \ |
|
Lines 35-43
Link Here
|
| 35 |
rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL,ABOUT-NLS}* |
44 |
rm -f "${D}"/usr/share/doc/${PF}/{COPYING,INSTALL,ABOUT-NLS}* |
| 36 |
doicon ${PN}.ico |
45 |
doicon ${PN}.ico |
| 37 |
make_desktop_entry ${PN} TuxTyping /usr/share/pixmaps/${PN}.ico |
46 |
make_desktop_entry ${PN} TuxTyping /usr/share/pixmaps/${PN}.ico |
| 38 |
keepdir /etc/${PN} /var/games/${PN}/words |
47 |
keepdir /etc/${PN} /var/lib/${PN}/words |
| 39 |
|
48 |
|
| 40 |
fowners root:gamestat /var/games/${PN} /usr/bin/${PN} |
49 |
fowners root:gamestat /var/lib/${PN} /usr/bin/${PN} |
| 41 |
fperms 660 /var/games/${PN} |
50 |
fperms 660 /var/lib/${PN} |
| 42 |
fperms 2755 /usr/bin/${PN} |
51 |
fperms 2755 /usr/bin/${PN} |
| 43 |
} |
52 |
} |