|
Lines 1-9
Link Here
|
| 1 |
# Copyright 1999-2018 Gentoo Foundation |
1 |
# Copyright 1999-2018 Gentoo Authors |
| 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 |
|
5 |
|
| 6 |
PLOCALES="cs de fi fr pl ru sv" |
6 |
PLOCALES="cs da de en fi fr nb pl ru sv" |
| 7 |
inherit qmake-utils l10n xdg-utils gnome2-utils |
7 |
inherit qmake-utils l10n xdg-utils gnome2-utils |
| 8 |
|
8 |
|
| 9 |
MY_PN="GPXSee" |
9 |
MY_PN="GPXSee" |
|
Lines 47-53
src_compile() {
Link Here
|
| 47 |
src_install() { |
47 |
src_install() { |
| 48 |
local lang |
48 |
local lang |
| 49 |
newbin ${MY_PN} ${PN} |
49 |
newbin ${MY_PN} ${PN} |
| 50 |
dodoc README.md |
50 |
dodoc README.md CONTRIBUTING.md |
| 51 |
insinto /usr/share/${PN} |
51 |
insinto /usr/share/${PN} |
| 52 |
doins -r pkg/maps pkg/csv |
52 |
doins -r pkg/maps pkg/csv |
| 53 |
|
53 |
|
|
Lines 60-67
src_install() {
Link Here
|
| 60 |
doins pkg/${PN}.desktop |
60 |
doins pkg/${PN}.desktop |
| 61 |
insinto /usr/share/mime/packages |
61 |
insinto /usr/share/mime/packages |
| 62 |
doins pkg/${PN}.xml |
62 |
doins pkg/${PN}.xml |
| 63 |
insinto /usr/share/pixmaps |
63 |
doicon -s 64 icons/${PN}.png |
| 64 |
doins icons/${PN}.png |
64 |
newicon -s 128 icons/${PN}@2x.png ${PN}.png |
| 65 |
} |
65 |
} |
| 66 |
|
66 |
|
| 67 |
pkg_postinst() { |
67 |
pkg_postinst() { |