1 # Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
3 pkgname=cursed-treasure
6 pkgdesc='A neat Tower Defense game with new twists (Flash game).'
8 url='http://www.iriysoft.ru/projects/flash/cursed-treasure'
10 depends=('flashplayer-standalone')
11 _baseurl="http://iriysoft.ru/CT"
12 _swf="CursedTreasure.swf"
13 source=("${_baseurl}/${_swf}"
17 md5sums=('35e1d34c3b83d5388f2794cf22789f31'
18 '42e68388a482b0723096d076d3d39c40'
19 '800d9ce68c863241ce4672dfcd2bdfbe'
20 '9fff7556594f367047e8ec89cd3f1c4e')
23 # Install the .swf file
24 install -Dm644 "${srcdir}/${_swf}" "${pkgdir}/usr/share/games/${pkgname}/${_swf}"
26 # Install launch script
27 install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
29 # Install .desktop file
30 install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
33 install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/icons/${pkgname}.png"