summaryrefslogtreecommitdiff
path: root/pcr/penguin-command
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/penguin-command')
-rw-r--r--pcr/penguin-command/PKGBUILD6
-rw-r--r--pcr/penguin-command/penguin-command.desktop9
2 files changed, 14 insertions, 1 deletions
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;