updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tinyandbig / PKGBUILD
blob6b12f3ff87fbfa5425e0287736eef07f274814f9
1 # Contributor: Daniel Milde <daniel@milde.cz>
2 pkgname=tinyandbig
3 pkgver=0.5
4 pkgrel=1
5 pkgdesc="Tiny & Big - up that mountain - demo BETA"
6 arch=('i686' 'x86_64')
7 url="http://www.tinyandbig.com/"
8 license=('custom')
9 depends=('openal' 'sdl' 'sdl_mixer' 'nvidia-cg-toolkit')
10 [ "$CARCH" = "i686" ]   && source=(http://tinyandbig.com/downloads/${pkgname}_upthatmountain_linux32-${pkgver}.tar.bz2 run.sh tinyandbig.desktop)
11 [ "$CARCH" = "x86_64" ] && source=(http://tinyandbig.com/downloads/${pkgname}_upthatmountain_linux64-${pkgver}.tar.bz2 run.sh tinyandbig.desktop)
12 [ "$CARCH" = "i686" ]   && md5sums=('5d3218dbf67011f1d13342c766a3ee5f' '9f47fd78e347f34b8fbc4039a2e9910c' '2d6c1066b1bee1b8508d4e9c0368a1db')
13 [ "$CARCH" = "x86_64" ] && md5sums=('4782a9eef133f533fd37aa027570fdd4' '9f47fd78e347f34b8fbc4039a2e9910c' '2d6c1066b1bee1b8508d4e9c0368a1db')
15 build() {
16   install -dm755 ${pkgdir}/opt/tinyandbig
17   install -dm755 ${pkgdir}/usr/bin
18   cp -r ${srcdir}/tinyandbig/* ${pkgdir}/opt/tinyandbig/
19   install -Dm755 ${srcdir}/run.sh ${pkgdir}/usr/bin/tinyandbig
20   install -D ${srcdir}/tinyandbig.desktop ${pkgdir}/usr/share/applications/tinyandbig.desktop