1 # Maintainer: TryA <tryagainprod@gmail.com>
6 pkgdesc="An emulator of classic Sega consoles, including SMS/GG, Genesis/Megadrive and add-ons"
7 url="http://www.eidolons-inn.net/tiki-index.php?page=Kega"
10 if [ "${CARCH}" == "x86_64" ]; then
11 depends=('lib32-alsa-lib' 'lib32-mesa' 'lib32-gtk2' 'lib32-xcb-util')
13 depends=('alsa-lib' 'mesa' 'gtk2' 'xcb-util')
16 optdepends=('lib32-gtk-engines: libclearlooks.so library')
17 install="kega-fusion.install"
18 source=("Fusion363x.tar.gz"::"http://www.eidolons-inn.net/tiki-download_file.php?fileId=572"
19 "Plugins(Linux).tar.gz"::"http://www.eidolons-inn.net/tiki-download_file.php?fileId=568"
20 "http://trya.alwaysdata.net/linux/libmpg123.so.0.11.4.gz"
21 "http://trya.alwaysdata.net/linux/icons/kega-fusion.png"
22 kega-fusion.sh kega-fusion.desktop Fusion.ini)
23 md5sums=('9a6f93c2f3bd48ef09a9170e7f0512f4'
24 '6121a37c42026da032386d9d5a5e9c42'
25 '6e9516000e527e025ad9de0b15573a87'
26 '1fdaacf18fb2965fb6f64a769037056b'
27 '3e44daf8fb02f8859f5d6c5bcf96dd64'
28 '5ecf6ba3ef1eff460ee659ef7b6e78db'
29 '6d744c098bdf2085fe144ffd2794fe6d')
36 install -d "${pkgdir}/usr/lib/kega-fusion/plugins"
37 install -m644 Plugins/*.rpi "${pkgdir}/usr/lib/kega-fusion/plugins"
38 install -m644 libmpg123.so.0.11.4 "${pkgdir}/usr/lib/kega-fusion"
40 # default configuration and documentation
41 install -Dm644 Fusion.ini "${pkgdir}/usr/share/kega-fusion/Fusion.ini"
42 install -d "${pkgdir}/usr/share/doc/kega-fusion"
43 install -m644 Fusion/*.txt "${pkgdir}/usr/share/doc/kega-fusion"
45 # startup script and executable
46 install -Dm755 kega-fusion.sh "${pkgdir}/usr/bin/kega-fusion"
47 upx -d "${srcdir}/Fusion/Fusion"
48 install -Dm755 Fusion/Fusion "${pkgdir}/usr/lib/kega-fusion/kega-fusion"
51 install -Dm644 kega-fusion.desktop "${pkgdir}/usr/share/applications/kega-fusion.desktop"
52 install -Dm644 kega-fusion.png "${pkgdir}/usr/share/pixmaps/kega-fusion.png"