summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Riedel2021-02-02 05:13:34 +0100
committerSebastian Riedel2021-02-02 05:13:34 +0100
commit8abfc309cf1588937697399d5355b334f786cda8 (patch)
tree0b3a79f5caf535bdf28f10e6d4a69c7519e4fb1a
parent5bb13fb3bab2cf2ce50a4c2978a2c9137cfc1d6a (diff)
downloadaur-8abfc309cf1588937697399d5355b334f786cda8.tar.gz
Switch to gendesk
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD32
-rw-r--r--emulicious.desktop17
3 files changed, 23 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8965940b86d..98f532301e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
pkgbase = emulicious-bin
- pkgdesc = Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator with C-level debug capabilties
+ pkgdesc = Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator
pkgver = 2021.01.30
pkgrel = 2
url = https://emulicious.net
arch = any
license = custom,
license = BSD
+ makedepends = gendesk
depends = java-environment
source = emulicious-bin-2021.01.30.zip::https://emulicious.net/download/emulicious/?wpdmdl=205
source = emulicious.sh
- source = emulicious.desktop
sha256sums = fbe0ac99dae07c19123ecfacca6100a1dc97a9344133a3caa9ab75616892100f
sha256sums = SKIP
- sha256sums = SKIP
pkgname = emulicious-bin
diff --git a/PKGBUILD b/PKGBUILD
index 231637cb29d..7ff75c65a9d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,27 @@
# Maintainer: basxto <archlinux basxto de>
-pkgname=emulicious-bin
+
+pkgname="emulicious-bin"
+_name="emulicious"
+_exec="emulicious"
+_genericname="Emulator"
# for release date see WhatsNew.txt
# emulicious does not communicate any version numbers
pkgver=2021.01.30
pkgrel=2
-pkgdesc="Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator with C-level debug capabilties"
+pkgdesc="Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator"
+_mimetype="application/x-gameboy-rom;application/x-gameboy-color-rom;application/x-sms-rom;application/x-gamegear-rom;application/x-msx-rom"
url="https://emulicious.net"
license=('custom', 'BSD')
arch=('any')
depends=('java-environment')
-source=("$pkgname-$pkgver.zip::https://emulicious.net/download/emulicious/?wpdmdl=205" "emulicious.sh" "emulicious.desktop")
-sha256sums=('fbe0ac99dae07c19123ecfacca6100a1dc97a9344133a3caa9ab75616892100f' 'SKIP' 'SKIP')
+makedepends=('gendesk')
+source=("$pkgname-$pkgver.zip::https://emulicious.net/download/emulicious/?wpdmdl=205" "emulicious.sh")
+sha256sums=('fbe0ac99dae07c19123ecfacca6100a1dc97a9344133a3caa9ab75616892100f' 'SKIP')
+
+prepare() {
+ gendesk -f -n
+}
package() {
# get new release ready
@@ -19,11 +29,11 @@ package() {
#sha256sum ${srcdir}/$pkgname-$pkgver.zip
#makepkg --printsrcinfo > .SRCINFO
- mkdir -p ${pkgdir}/usr/share/$pkgname/ ${pkgdir}/etc/
- install -Dm644 ${srcdir}/License.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 ${srcdir}/LICENSE-JInput.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE-JInput"
- cp -r ${srcdir}/Highlighters/ ${srcdir}/MSX/ ${srcdir}/KeyPresets/ ${pkgdir}/usr/share/$pkgname/
- install -Dm644 ${srcdir}/Emulicious.jar ${srcdir}/WhatsNew.txt ${srcdir}/Expressions.txt ${srcdir}/ReadMe.txt ${srcdir}/*.ports ${pkgdir}/usr/share/$pkgname/
- install -Dm755 ${srcdir}/emulicious.sh ${pkgdir}/usr/bin/emulicious
- install -Dm644 ${srcdir}/emulicious.desktop ${pkgdir}/usr/share/applications/emulicious.desktop
+ mkdir -p "${pkgdir}/usr/share/${pkgname}/"
+ install -Dm644 "${srcdir}/License.txt" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "${srcdir}/LICENSE-JInput.txt" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE-JInput"
+ cp -r "${srcdir}/Highlighters/" "${srcdir}/MSX/" "${srcdir}/KeyPresets/" "${pkgdir}/usr/share/$pkgname/"
+ install -Dm644 "${srcdir}/Emulicious.jar" "${srcdir}/WhatsNew.txt" "${srcdir}/Expressions.txt" "${srcdir}/ReadMe.txt" "${srcdir}/"*.ports "${pkgdir}/usr/share/${pkgname}/"
+ install -Dm755 "${srcdir}/emulicious.sh" "${pkgdir}/usr/bin/${_name}"
+ install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${_name}.desktop"
}
diff --git a/emulicious.desktop b/emulicious.desktop
deleted file mode 100644
index 5202990084a..00000000000
--- a/emulicious.desktop
+++ /dev/null
@@ -1,17 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Version=1.0
-Name=Emulicious
-GenericName=Emulator
-Comment=Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator
-Comment[de]=Game Boy, Game Boy Color, Master System, Game Gear und MSX-Emulator
-
-TryExec=java
-Exec=emulicious
-Terminal=false
-
-MimeType=application/x-gameboy-rom;application/x-gameboy-color-rom;application/x-sms-rom;application/x-gamegear-rom;application/x-msx-rom
-
-Icon=joystick
-Categories=Game;Emulator;Development;Debugger;Java \ No newline at end of file