[arch-commits] Commit in mame/trunk (PKGBUILD mame.desktop mame.svg)

Antonio Rojas arojas at archlinux.org
Mon Dec 16 22:10:28 UTC 2019


    Date: Monday, December 16, 2019 @ 22:10:27
  Author: arojas
Revision: 537893

Add desktop file (from Debian) and icon (FS#64830)

Added:
  mame/trunk/mame.desktop
  mame/trunk/mame.svg
Modified:
  mame/trunk/PKGBUILD

--------------+
 PKGBUILD     |   13 ++++++++++---
 mame.desktop |   20 ++++++++++++++++++++
 mame.svg     |    1 +
 3 files changed, 31 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-16 21:34:07 UTC (rev 537892)
+++ PKGBUILD	2019-12-16 22:10:27 UTC (rev 537893)
@@ -5,7 +5,7 @@
 
 pkgname=mame
 pkgver=0.216
-pkgrel=1
+pkgrel=2
 pkgdesc="A port of the popular Multiple Arcade Machine Emulator using SDL with OpenGL support."
 url="https://mamedev.org/"
 license=(GPL2)
@@ -14,9 +14,12 @@
 makedepends=(nasm python asio rapidjson glm libxinerama)
 conflicts=(sdlmame)
 replaces=(sdlmame)
-source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz" mame.sh)
+source=("https://github.com/mamedev/mame/archive/mame${pkgver/./}.tar.gz"
+         mame.sh mame.desktop mame.svg)
 sha256sums=('cc69e56ebbabbd6cf197d4910de0904f5709844a81f0117ce5d922f702429fc8'
-            'ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba')
+            'ee1c59bafc5e5441e99fa4c58108a3e18048e60672f34de865c8a5a976094dba'
+            '6beb883c8efed5b7466d43d0658b47c3e4a9928b5d0245ed56446b230e28306b'
+            '17c442c933d764175e4ce1de50a80c0c2ddd5d733caf09c3cd5e6ba697ac43f4')
 
 
 prepare() {
@@ -69,4 +72,8 @@
   install -d "$pkgdir"/usr/share/man/man{1,6}
   install -m644 docs/man/*.1* "$pkgdir"/usr/share/man/man1/
   install -m644 docs/man/*.6* "$pkgdir"/usr/share/man/man6/
+
+  # install desktop file and icon
+  install -Dm644 "$srcdir"/mame.desktop -t "$pkgdir"/usr/share/applications
+  install -Dm644 "$srcdir"/mame.svg -t "$pkgdir"/usr/share/icons/hicolor/scalable/apps
 }

Added: mame.desktop
===================================================================
--- mame.desktop	                        (rev 0)
+++ mame.desktop	2019-12-16 22:10:27 UTC (rev 537893)
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Name=MAME™ Arcade Emulator
+Name[ca]=Emulador de jocs arcade MAME™
+Name[fr]=Emulateur arcade MAME™
+Name[it]=Emulatore di giochi arcade MAME™
+GenericName=Arcade Emulator
+GenericName[ca]=Emulador de jocs arcade
+GenericName[fr]=Emulateur arcade
+GenericName[it]=Emulatore di giochi arcade
+Comment=Play vintage arcade games using the MAME™ emulator
+Comment[ca]=Jugueu a jocs d'arcade antics emprant l'emulador MAME™
+Comment[fr]=Jugueu a jocs d'arcade antics emprant l'emulador MAME™
+Comment[it]=Gioca ai vecchi arcade con l'emulatore MAME™
+Exec=/usr/bin/mame
+Icon=mame
+Terminal=false
+Type=Application
+Categories=Game;Emulator;
+Keywords=Game;Emulator;Arcade;
+

Added: mame.svg
===================================================================
(Binary files differ)

Index: mame/trunk/mame.svg
===================================================================
--- mame.svg	2019-12-16 21:34:07 UTC (rev 537892)
+++ mame.svg	2019-12-16 22:10:27 UTC (rev 537893)

Property changes on: mame/trunk/mame.svg
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+image/svg
\ No newline at end of property



More information about the arch-commits mailing list