1 # Maintainer: Jens Adam (byte/jra) <j_adam@web.de>
6 pkgdesc="Tetris(r) clone with 'bastard' block-choosing AI"
7 url="http://fph.altervista.org/prog/bastet.html"
10 depends=('boost-libs' 'ncurses')
12 backup=('var/games/bastet.scores2')
13 source=("http://fph.altervista.org/prog/files/${pkgname}-${pkgver}.tgz")
14 md5sums=('b47090daa7b6d89b98b5b477cf155733')
17 cd "${srcdir}"/${pkgname}-${pkgver}/
22 cd "${srcdir}"/${pkgname}-${pkgver}/
25 install -D bastet "${pkgdir}"/usr/bin/bastet
28 install -Dm644 bastet.6 "${pkgdir}"/usr/share/man/man6/bastet.6
30 # prepare highscore file
31 # (seems to work, so ignore the startup error message)
32 install -dm775 -g games "${pkgdir}"/var/games/
33 touch "${pkgdir}"/var/games/bastet.scores2
34 chmod 664 "${pkgdir}"/var/games/bastet.scores2
35 chown root:games "${pkgdir}"/var/games/bastet.scores2