1 # Maintainer: Jonathan Liu <net147@gmail.com>
6 pkgdesc="A tetris clone where you have a bowl with blocks falling down."
8 url="http://lgames.sourceforge.net/index.php?project=LTris"
10 depends=('mingw32-gettext' 'mingw32-libpng' 'mingw32-sdl_mixer')
11 source=("http://downloads.sourceforge.net/lgames/${_realpkgname}-${pkgver}.tar.gz")
12 md5sums=('533be97db3f6589e879b905c66a44300')
15 cd "${srcdir}/${_realpkgname}-${pkgver/_/-}"
17 LIBS='-lintl' ./configure --host=i486-mingw32 --prefix=/usr/i486-mingw32 --disable-install
22 cd "${srcdir}/${_realpkgname}-${pkgver/_/-}"
23 install -D -m644 src/ltris.exe "${pkgdir}/usr/lib/i486-mingw32/opt/${_realpkgname}/ltris.exe"
24 install -d -m755 "${pkgdir}/usr/lib/i486-mingw32/opt/${_realpkgname}"/{gfx,sounds}
25 cp -r src/{gfx,sounds} "${pkgdir}/usr/lib/i486-mingw32/opt/${_realpkgname}/"
26 find "${pkgdir}" -type f -name 'Makefile*' -delete