# Template file for 'lbreakout2'
pkgname=lbreakout2
version=2.6.4
revision=1
build_style=gnu-configure
configure_args="--disable-rpath --enable-sdl-net --localstatedir=/var/games/$pkgname"
make_install_args="doc_dir=/usr/share/doc"
makedepends="zlib-devel libpng-devel>=1.5.10 SDL-devel SDL_mixer-devel SDL_net-devel"
short_desc="Breakout-style arcade game"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://lgames.sourceforge.net"
license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz"
checksum=0b90716d52e67c27ff41ab7aa5c09dad4f5f19a78076cc57dd4b4d7ed2c1dbd9
long_desc="
 The polished successor to LBreakout offers you a new challenge in more
 than 50 levels with loads of new bonuses (goldshower, joker, explosive
 balls, bonus magnet ...), maluses (chaos, darkness, weak balls, malus
 magnet ...) and special bricks (growing bricks, explosive bricks,
 regenerative bricks, indestructible bricks, chaotic bricks).

 And if you're through with all the levels you can create complete new
 levelsets with the integrated easy-to-use level editor!"

post_install() {
	install -Dm755 ${FILESDIR}/lbreakout2.desktop \
		${DESTDIR}/usr/share/applications/lbreakout2.desktop
	install -Dm755 ${FILESDIR}/lbreakout2.png \
		${DESTDIR}/usr/share/pixmaps/lbreakout2.png
}
