forked from hasufell/hasufell-repository
games-strategy/dunelegacy: use desktop-utils.exlib
This commit is contained in:
parent
643944754a
commit
5d440e816f
@ -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
|
||||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||||
require sourceforge [ pnv=${PNV}-src ]
|
require sourceforge [ pnv=${PNV}-src ]
|
||||||
|
|
||||||
@ -31,17 +31,7 @@ src_install() {
|
|||||||
insinto /usr/share/icons/hicolor/48x48/apps
|
insinto /usr/share/icons/hicolor/48x48/apps
|
||||||
doins ${PN}.png
|
doins ${PN}.png
|
||||||
|
|
||||||
insinto /usr/share/applications
|
install_desktop_entry "Name=Dune Legacy"
|
||||||
hereins ${PN}.desktop <<EOF
|
|
||||||
[Desktop Entry]
|
|
||||||
Name=Dune Legacy
|
|
||||||
Type=Application
|
|
||||||
Comment=Updated clone of Westood Studios' Dune2
|
|
||||||
Exec=dunelegacy
|
|
||||||
TryExec=dunelegacy
|
|
||||||
Icon=dunelegacy
|
|
||||||
Categories=Game;StrategyGame;
|
|
||||||
EOF
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
Loading…
Reference in New Issue
Block a user