updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / yofrankie / PKGBUILD
bloba92e722e221936d6964d339339153931d30196e6
1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributer: N30N <archlinux@alunamation.com>
4 pkgname=yofrankie
5 pkgver=1.1
6 pkgrel=3
7 pkgdesc="A 3D platform game based on the bully rodent in Big Buck Bunny"
8 url="http://www.yofrankie.org/"
9 license=("CCPL")
10 arch=('any')
11 depends=('blender2.4-bin')
12 makedepends=('imagemagick')
13 conflicts=("yofrankie-demo-glsl")
14 source=("yofrankie.desktop" \
15         "yofrankie.png" \
16         "yofrankie.sh" \
17         "yofrankie.blend" \
18         "http://alunamation.com/archlinux/yofrankie_${pkgver/./_}b_bge.zip")
19         # "http://download.blender.org/apricot/yofrankie_${pkgver/./_}b_bge.zip")
20 md5sums=("47f89763fdfd354822be5876a10c0260" \
21         "0c80203d56bd4bbbc5f1e74c8e32a54a" \
22         "01311629480aad08a2a8b76ef96d62ef" \
23         "294b805de0c44317dd5a991083937da8" \
24         "863924c515b483adfa5f63e8d982b5c2")
26 build() {
27         cd ${srcdir}
28         install -D -m755 yofrankie.sh ${pkgdir}/usr/bin/yofrankie
29         install -D -m644 yofrankie.desktop ${pkgdir}/usr/share/applications/yofrankie.desktop
30         install -D -m644 yofrankie.png ${pkgdir}/usr/share/pixmaps/yofrankie.png
31         # or if you want the ugly icon...
32         # install -D -m644 yofrankie_${pkgver/./_}b_bge/dist/yofrankie.png ${pkgdir}/usr/share/pixmaps/yofrankie.png
33         install -D -m644 yofrankie.blend ${pkgdir}/usr/share/yofrankie/yofrankie.blend
35         cd yofrankie_${pkgver/./_}b_bge
36         directories=(
37                 "audio"
38                 "levels"
39                 "levels/level_scripts"
40                 "levels/menu_scripts"
41                 "levels/selector_scripts"
42                 "chars"
43                 "chars/frankie_scripts"
44                 "chars/sheep_scripts"
45                 "chars/textures"
46                 "menus"
47                 "effects"
48                 "effects/effects_scripts"
49                 "props"
50                 "hud"
51                 "hud/hud_scripts"
52                 "textures"
53                 "textures/credits"
54                 "textures/level_lighthouse"
55                 "textures/level_nut"
56                 "textures/level_nut/raw"
57         )
59         for ((i=0; i< ${#directories[@]}; i++)); do
60         install -d ${pkgdir}/usr/share/yofrankie/${directories[i]}
61         install -m644 -t ${pkgdir}/usr/share/yofrankie/${directories[i]} ${directories[i]}/*.*
62         done