1 # Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
6 pkgdesc='Combat based RPG where you play as a Zombie, level up and gain items to advance to the next Zone (Flash game).'
8 url='http://armorgames.com/'
10 makedepends=("imagemagick")
11 depends=('flashplayer-standalone')
12 _baseurl="http://armorgames.com/files/games"
13 _baseiconurl="http://armorgames.com/files/thumbnails"
16 source=("${_baseurl}/${_game}.swf"
18 "${_baseiconurl}/${_game}.${_iconextension}"
20 md5sums=('795fbd9da1ceb8ac748b9b227f2def3c'
21 'c2bbf4d570340ed010042acf040a1dcf'
22 '26edd8d91235e7b52e591c597177fd0d'
23 'eb54e10baa0e4ab6faca69f82441f23d')
27 convert "${srcdir}/${_game}.${_iconextension}" "${srcdir}/${pkgname}.png"
31 # Install the .swf file
32 install -Dm644 "${srcdir}/${_game}.swf" "${pkgdir}/usr/share/games/${pkgname}/${pkgname}.swf"
34 # Install launch script
35 install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
37 # Install .desktop file
38 install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
41 install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/icons/${pkgname}.png"