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

View File

@ -1,7 +1,7 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # 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} 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" 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 dobin zod_launcher_src/zod_launcher
insinto /usr/share/applications install_desktop_entry "Name=Zod Engine" "Exec=zod_launcher"
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
insinto /usr/share/zod-engine insinto /usr/share/zod-engine
doins -r assets blank_maps *.map default_settings.txt *map_list.txt doins -r assets blank_maps *.map default_settings.txt *map_list.txt