1 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
2 # Contributor: Mark Coolen <mark.coolen@gmail.com>
7 pkgdesc="A logic game based on the puzzle game Sokoban"
9 url="http://www.anakreon.cz/en/"
11 depends=('sdl' 'berusky-data')
12 source=(http://www.anakreon.cz/download/${pkgname}-${pkgver}.tar.gz \
15 md5sums=('0e2fa2d4b5ce91d8b2a868fd4b5c7cb8' \
16 '8a5f5607b4883f4c86d1ba9fd5ab6156' \
17 '08699c6e9e1004887c3a6f53f2bf797f')
20 cd ${srcdir}/${pkgname}-${pkgver}
21 /bin/sed -i 's|var/games|usr/share|g' src/defines.h
22 ./configure --prefix=/usr || return 1
24 make DESTDIR=${pkgdir} install
26 install -m644 -D berusky.png ${pkgdir}/usr/share/pixmaps/berusky.png
27 install -m644 -D berusky.desktop ${pkgdir}/usr/share/applications/berusky.desktop
28 # rm ${pkgdir}/usr/share/berusky/*.spec