1 # Maintainer: trya <tryagainprod@gmail.com>
4 _gamepkg="braid-linux-build2.run.bin"
7 pkgdesc="A puzzle-platformer where the player manipulates the flow of time in strange and unusual ways \
8 (requires copy of the full game)"
9 url="http://braid-game.com"
10 license=('custom: "commercial"')
11 arch=('i686' 'x86_64')
12 depends=('sdl' 'nvidia-cg-toolkit')
13 optdepends=('libtxc_dxtn: open S3TC implementation for free DRI drivers')
15 source=("$_gamepkg"::"file://$_gamepkg"
16 'braid.desktop' 'braid.sh')
17 md5sums=('f8933b7f7c77a234763cf73e2f9312a7'
18 '5c2644ab74d7714bed6d16a564df33bb'
19 'c0c774073c1b626450b4fa30a2917ab8')
23 unzip $_gamepkg || true
30 install -d "$pkgdir/opt"
31 cp -a data/gamedata "$pkgdir/opt/Braid"
33 # startup script and executable
34 install -Dm755 braid.sh "$pkgdir/usr/bin/braid"
35 if [ "$CARCH" == "x86_64" ]; then
36 cp data/amd64/braid "$pkgdir/opt/Braid"
38 cp data/x86/braid "$pkgdir/opt/Braid"
42 install -Dm644 braid.desktop "$pkgdir/usr/share/applications/braid.desktop"
43 install -Dm644 data/gamedata/braid.png "$pkgdir/usr/share/pixmaps/braid.png"