updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / homerun-in-berzerk-land / PKGBUILD
blob7a8355e4b4945ffacea9c979f80f9455e83a6c5e
1 # Maintainer: Florian Léger <florian dot leger at insa dash rouen dot fr>
3 pkgname=homerun-in-berzerk-land
4 pkgver=1.0
5 pkgrel=3
6 pkgdesc='Hit the geek and make him fly (Flash game).'
7 arch=('any')
8 url='http://www.berzerkstudio.com/'
9 license=('unknown')
10 depends=('flashplayer-standalone')
11 _baseurl="http://www.playhub.com/swf"
12 _swf="homerun-bezerk.swf"
13 source=("${_baseurl}/${_swf}"
14         "${pkgname}.desktop"
15         "${pkgname}.png"
16         "${pkgname}.sh")
17 md5sums=('77de342b99cb7e14953c346894e60c11'
18          '5d516321c13a70842e474d113176d7e1'
19          '71f850e4f0f335cb0578ab41170fada6'
20          '008bbae81f4eb5f9161df9bc0e9aece4')
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"