From a1422018f86ad45b2b07ccc016e0e32f5bcca8c9 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Sun, 9 Oct 2016 15:26:43 -0400 Subject: add desktop icon to penguin-command --- pcr/penguin-command/PKGBUILD | 6 +++++- pcr/penguin-command/penguin-command.desktop | 9 +++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 pcr/penguin-command/penguin-command.desktop diff --git a/pcr/penguin-command/PKGBUILD b/pcr/penguin-command/PKGBUILD index c6074a577..57e146e82 100644 --- a/pcr/penguin-command/PKGBUILD +++ b/pcr/penguin-command/PKGBUILD @@ -2,7 +2,7 @@ pkgname=penguin-command pkgver=1.6.11 -pkgrel=2 +pkgrel=3 pkgdesc="Clone of the classic Missile Command game with better graphics and music." arch=('x86_64' 'i686') url="http://www.linux-games.com/penguin-command/" @@ -21,4 +21,8 @@ package() { cd $pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --sbindir=/usr/bin make DESTDIR="$pkgdir/" install + + # Install a desktop entry + install -Dm644 data/gfx/20explo.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -Dm644 ../${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" } diff --git a/pcr/penguin-command/penguin-command.desktop b/pcr/penguin-command/penguin-command.desktop new file mode 100644 index 000000000..69346fb52 --- /dev/null +++ b/pcr/penguin-command/penguin-command.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Penguin-Command +Comment=Missile Attack game +Exec=penguin-command +Icon=penguin-command +Terminal=false +Categories=Game;ArcadeGame; -- cgit v1.2.3