From 54e71197e155497a4ada3e7aa47db588e7875972 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 17 Dec 2019 00:48:21 +0000 Subject: [PATCH] community/mame to 0.216-2 --- community/mame/PKGBUILD | 13 ++++++++++--- community/mame/mame.desktop | 20 ++++++++++++++++++++ community/mame/mame.svg | 5 +++++ 3 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 community/mame/mame.desktop create mode 100644 community/mame/mame.svg diff --git a/community/mame/PKGBUILD b/community/mame/PKGBUILD index 6f67c72f4..88ad5841b 100644 --- a/community/mame/PKGBUILD +++ b/community/mame/PKGBUILD @@ -10,7 +10,7 @@ highmem=1 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) @@ -19,9 +19,12 @@ depends=(sdl2_ttf qt5-base lua libutf8proc pugixml portmidi portaudio) 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() { @@ -74,4 +77,8 @@ package() { 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 } diff --git a/community/mame/mame.desktop b/community/mame/mame.desktop new file mode 100644 index 000000000..072ec470e --- /dev/null +++ b/community/mame/mame.desktop @@ -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; + diff --git a/community/mame/mame.svg b/community/mame/mame.svg new file mode 100644 index 000000000..9e1281728 --- /dev/null +++ b/community/mame/mame.svg @@ -0,0 +1,5 @@ + + + + +