void-packages/srcpkgs/lbreakout2/template

41 lines
1.5 KiB
Text

# Template file for 'lbreakout2'
pkgname=lbreakout2
version=2.6.1
revision=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
}