void-packages/srcpkgs/lbreakout2/template
Juan RP fc92bd77ce Added lbreakout2-2.6.1 build template.
--HG--
extra : convert_revision : 150c8e9b7cf92d56dc8cb4b9a5ce183bd5104cc9
2009-12-25 23:04:46 +01:00

40 lines
1.5 KiB
Text

# Template file for 'lbreakout2'
pkgname=lbreakout2
version=2.6.1
distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-rpath --enable-sdl-net
--localstatedir=/var/games/$pkgname"
make_install_args="doc_dir=/usr/share/doc"
short_desc="Breakout-style arcade game"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=0d86f9da3da5fe3eaa5bb4c9d15ba9666e0c35e739b93c220eecd16f729500cb
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!"
Add_dependency run glibc
Add_dependency run zlib
Add_dependency run libpng
Add_dependency run SDL
Add_dependency run SDL_mixer
Add_dependency run SDL_net
Add_dependency build zlib-devel
Add_dependency build libpng-devel
Add_dependency build SDL-devel
Add_dependency build SDL_mixer-devel
Add_dependency build SDL_net-devel
post_install()
{
install -Dm755 ${FILESDIR}/lbreakout2.desktop \
${DESTDIR}/usr/share/applications/lbreakout2.desktop || return 1
install -Dm755 ${FILESDIR}/lbreakout2.png \
${DESTDIR}/usr/share/pixmaps/lbreakout2.png || return 1
}