games-strategy/zod-engine: use desktop-utils.exlib

This commit is contained in:
Julian Ospald 2016-05-26 15:09:19 +02:00
parent 5d440e816f
commit 4f95ab161e
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 2 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require gtk-icon-cache
require desktop-utils gtk-icon-cache
MY_PNV=zod_linux-${PV:0:4}-${PV:4:2}-${PV:6:2}
SUMMARY="Zod engine is a remake of the 1996 classic game by Bitmap Brothers called Z"
@ -57,17 +57,7 @@ src_install() {
dobin zod_launcher_src/zod_launcher
insinto /usr/share/applications
hereins ${PN}.desktop <<EOF
[Desktop Entry]
Name=Zod Engine
Type=Application
Comment=Zod engine is a remake of the 1996 classic game by Bitmap Brothers called Z
Exec=zod_launcher
TryExec=zod_launcher
Icon=zod-engine
Categories=Game;StrategyGame;
EOF
install_desktop_entry "Name=Zod Engine" "Exec=zod_launcher"
insinto /usr/share/zod-engine
doins -r assets blank_maps *.map default_settings.txt *map_list.txt