1 # Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
5 pkgdesc="Drive a toy wood engine in many levels and collect all the coaches to win"
7 url="http://ri-li.sourceforge.net/"
9 depends=('gcc-libs' 'sdl_mixer')
10 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/Ri-li-$pkgver.tar.bz2 ri-li.desktop iostream.patch)
11 md5sums=('57a2ff50a0c704786da8adf61d78bf52' 'ff57f8b04b212af3e6f8c600c3e0c35b'
12 'd953710f48bccf1f4de2f7d316c725fe')
15 cd $srcdir/Ri-li-$pkgver
16 ./configure --prefix=/usr
17 sed -i "s/SUBDIRS = src data Sounds gentoo/SUBDIRS = src data Sounds/" Makefile
18 patch -p1 < $srcdir/iostream.patch
20 make DESTDIR=$pkgdir install
22 install -m644 -D ../ri-li.desktop $pkgdir/usr/share/applications/ri-li.desktop
23 install -m644 -D data/Ri-li-icon-48x48.png $pkgdir/usr/share/pixmaps/ri-li.png