updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cursed-treasure / PKGBUILD
blob0b90c878657b39acb16daeab8ba9a2a73c9fdcfd
1 # Maintainer: Florian Léger <florian6 dot leger at laposte dot net>
3 pkgname=cursed-treasure
4 pkgver=1.09.0019
5 pkgrel=3
6 pkgdesc='A neat Tower Defense game with new twists (Flash game).'
7 arch=('any')
8 url='http://www.iriysoft.ru/projects/flash/cursed-treasure'
9 license=('custom')
10 depends=('flashplayer-standalone')
11 _baseurl="http://iriysoft.ru/CT"
12 _swf="CursedTreasure.swf"
13 source=("${_baseurl}/${_swf}"
14         "${pkgname}.desktop"
15         "${pkgname}.png"
16         "${pkgname}.sh")
17 md5sums=('35e1d34c3b83d5388f2794cf22789f31'
18          '42e68388a482b0723096d076d3d39c40'
19          '800d9ce68c863241ce4672dfcd2bdfbe'
20          '9fff7556594f367047e8ec89cd3f1c4e')
22 package() {
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"
32   # Install icon
33   install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/icons/${pkgname}.png"