summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Riedel2021-03-05 14:23:13 +0100
committerSebastian Riedel2021-03-05 14:23:13 +0100
commitf96d068da5d957eaf936f7dadab3ec68acbda824 (patch)
tree143f8b78c2eb03c4520b58d719ad250819e24ff8
parent21119cfc3c4358f24495af3a3c572e64f565f227 (diff)
downloadaur-f96d068da5d957eaf936f7dadab3ec68acbda824.tar.gz
Fix icons & update to 2021.02.28's regression fix
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD25
2 files changed, 18 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7400911703f..5f5f9be3b17 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = emulicious-bin
pkgdesc = Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator
- pkgver = 2021.01.30
- pkgrel = 6
+ pkgver = 2021.02.28
+ pkgrel = 2
url = https://emulicious.net
arch = any
license = custom,
@@ -13,9 +13,10 @@ pkgbase = emulicious-bin
depends = java-environment
depends = sh
depends = hicolor-icon-theme
- source = emulicious-bin-2021.01.30.zip::https://emulicious.net/download/emulicious/?wpdmdl=205
+ provides = emulicious
+ source = emulicious-bin-2021.02.28.zip::https://emulicious.net/download/emulicious/?wpdmdl=205
source = emulicious.sh
- sha256sums = 01914a8ba66858e3fc68c8e7ebbdcf197d320a15a5daf8a4ad5c86e54a609ca7
+ sha256sums = 52c9c798624fe6c811f8ad14da60d95e1f3cdf13db155ddaf8afd7d27f752b7b
sha256sums = 3f9442376a7a8ba93ff5490826bcd5b5b81c5c62b3a6ec48bcd586a0e42fca66
pkgname = emulicious-bin
diff --git a/PKGBUILD b/PKGBUILD
index 5c81e36823d..188d310ddaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,21 @@
# Maintainer: basxto <archlinux basxto de>
-pkgname="emulicious-bin"
-_genericname="Emulator"
+pkgname='emulicious-bin'
+_genericname='Emulator'
pkgver=2021.02.28
-pkgrel=1
-pkgdesc="Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator"
+pkgrel=2
+pkgdesc='Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator'
# sms is backwards compatible to sg1000
-_mimetype="application/x-gameboy-rom;application/x-gameboy-color-rom;application/x-sms-rom;application/x-sg1000-rom;application/x-gamegear-rom;application/x-msx-rom"
-url="https://emulicious.net"
+_mimetype='application/x-gameboy-rom;application/x-gameboy-color-rom;application/x-sms-rom;application/x-sg1000-rom;application/x-gamegear-rom;application/x-msx-rom'
+url='https://emulicious.net'
license=('custom', 'BSD')
+provides=('emulicious')
arch=('any')
depends=('java-environment' 'sh' 'hicolor-icon-theme')
makedepends=('java-environment-common' 'gendesk' 'dos2unix' 'imagemagick')
-source=("$pkgname-$pkgver.zip::https://emulicious.net/download/emulicious/?wpdmdl=205" "emulicious.sh")
-sha256sums=('01914a8ba66858e3fc68c8e7ebbdcf197d320a15a5daf8a4ad5c86e54a609ca7'
+source=("$pkgname-$pkgver.zip::https://emulicious.net/download/emulicious/?wpdmdl=205" 'emulicious.sh')
+sha256sums=('52c9c798624fe6c811f8ad14da60d95e1f3cdf13db155ddaf8afd7d27f752b7b'
'3f9442376a7a8ba93ff5490826bcd5b5b81c5c62b3a6ec48bcd586a0e42fca66')
prepare() {
@@ -39,12 +40,12 @@ package() {
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 "emulicious.desktop" "${pkgdir}/usr/share/applications/emulicious.desktop"
- install -Dm644 "${srcdir}/${pkgname}_256x256.png" "${pkgdir}/usr/share//icons/hicolor/256x256/apps/${pkgname}.png"
+ install -Dm755 "${srcdir}/emulicious.sh" "${pkgdir}/usr/bin/${provides[0]}"
+ install -Dm644 "emulicious.desktop" "${pkgdir}/usr/share/applications/${provides[0]}.desktop"
+ install -Dm644 "${srcdir}/${pkgname}_256x256.png" "${pkgdir}/usr/share//icons/hicolor/256x256/apps/${provides[0]}.png"
# generate all other icon sizes
for i in 16 24 32 48 64 72 96 128;do
install -d "${pkgdir}/usr/share//icons/hicolor/${i}x${i}/apps/"
- magick convert "${srcdir}/${pkgname}_256x256.png" -resize ${i}x${i} "${pkgdir}/usr/share//icons/hicolor/${i}x${i}/apps/${pkgname}.png"
+ magick convert "${srcdir}/${pkgname}_256x256.png" -resize ${i}x${i} "${pkgdir}/usr/share//icons/hicolor/${i}x${i}/apps/${provides[0]}.png"
done
}