1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
6 pkgdesc="A Tetris remake written in C using libSDL"
8 url="http://machineinteractive.com/projects/projects.html"
10 depends=('sdl_mixer' 'sdl_ttf' 'bash')
11 source=("http://machineinteractive.com/projects/downloads/${pkgname}.tar.gz" "${pkgname}.desktop")
12 md5sums=('f3662e2e5e4c9b742bd3ad311521034d'
13 '4178deb1bc373988c9dd305a648093c0')
22 mkdir -p $pkgdir/usr/bin
23 install -D -m644 Bitstream-Vera-Sans-Mono.ttf $pkgdir/usr/share/sdlblocks/Bitstream-Vera-Sans-Mono.ttf
24 install -D -m644 README.txt $pkgdir/usr/share/sdlblocks/README.txt
25 install -D -m644 korobeiniki.mp3 $pkgdir/usr/share/sdlblocks/korobeiniki.mp3
26 install -D -m644 sdlblocks.bmp $pkgdir/usr/share/sdlblocks/sdlblocks.bmp
27 install -D -m644 sdlblocks.o $pkgdir/usr/share/sdlblocks/sdlblocks.o
28 install -D -m755 sdlblocks $pkgdir/usr/share/sdlblocks/sdlblocks
30 cd /usr/share/sdlblocks
31 ./sdlblocks") > $pkgdir/usr/bin/sdlblocks
32 chmod 755 $pkgdir/usr/bin/sdlblocks
33 install -Dm 644 $srcdir/${pkgname}.desktop $pkgdir/usr/share/applications/${pkgname}.desktop