1 # Maintainer: kfgz <kfgz at interia pl>
2 # Contributor: scj <scj(at)archlinux(dot)us>
7 pkgdesc="Still Yet Another implementation of the puzzle game Sokoban"
9 url="http://grayskygames.com/sokoban.html"
12 source=(http://grayskygames.com/sokoban/${pkgname}-${pkgver}.tar.gz
15 md5sums=('3735ea7f164587165d4d03805a87b1a5'
16 '9804a24b30d718c60396706e09321365'
17 '2ac83ee60e214a1c52c216aeb8e421c3')
20 cd "${srcdir}/${pkgname}-${pkgver}"
21 patch -p1 < ../fixpath.patch
26 cd "${srcdir}/${pkgname}-${pkgver}"
27 mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/share/syasokoban
28 cp syasokoban ${pkgdir}/usr/bin/syasokoban
29 cp -r data/* ${pkgdir}/usr/share/syasokoban/
30 find ${pkgdir} -perm 544 -exec chmod 644 {} \;
31 find ${pkgdir} -perm 744 -exec chmod 644 {} \;
32 install -Dm644 ${srcdir}/${pkgname}.desktop \
33 ${pkgdir}/usr/share/applications/${pkgname}.desktop