games-board/pysolfc: use desktop-utils.exlib

This commit is contained in:
Julian Ospald 2016-05-26 14:24:47 +02:00
parent 9436eeea51
commit fe8c380dc6
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -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
} }