games-board/pysolfc: use desktop-utils.exlib
This commit is contained in:
parent
9436eeea51
commit
fe8c380dc6
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
MY_PN=PySolFC
|
MY_PN=PySolFC
|
||||||
|
|
||||||
|
require desktop-utils
|
||||||
require setup-py [ import=distutils multibuild=false blacklist=3 python_opts="[tk]" ]
|
require setup-py [ import=distutils multibuild=false blacklist=3 python_opts="[tk]" ]
|
||||||
require sourceforge [ project=pysolfc pnv=${MY_PN}-${PV} ]
|
require sourceforge [ project=pysolfc pnv=${MY_PN}-${PV} ]
|
||||||
|
|
||||||
@ -42,16 +43,7 @@ src_install() {
|
|||||||
|
|
||||||
doman docs/*.6
|
doman docs/*.6
|
||||||
|
|
||||||
insinto /usr/share/applications
|
install_desktop_entry "Name=PySol Fan Club Edition" \
|
||||||
hereins ${PN}.desktop << EOF
|
"Exec=pysol.py" "Icon=pysol02"
|
||||||
[Desktop Entry]
|
|
||||||
Name=PySol Fan Club Edition
|
|
||||||
Type=Application
|
|
||||||
Comment=${SUMMARY}
|
|
||||||
Exec=${PN}.py
|
|
||||||
TryExec=${PN}.py
|
|
||||||
Icon=pysol02
|
|
||||||
Categories=Game;BoardGame;
|
|
||||||
EOF
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user