diff --git a/srcpkgs/lbreakout2/files/lbreakout2.desktop b/srcpkgs/lbreakout2/files/lbreakout2.desktop new file mode 100644 index 00000000000..c8ef945da1f --- /dev/null +++ b/srcpkgs/lbreakout2/files/lbreakout2.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Linux Breakout 2 +Comment=Breakout and Arkanoid style arcade game +Icon=/usr/share/pixmaps/lbreakout2.png +TryExec=lbreakout2 +Exec=lbreakout2 +Terminal=false +Categories=Application;Game; diff --git a/srcpkgs/lbreakout2/files/lbreakout2.png b/srcpkgs/lbreakout2/files/lbreakout2.png new file mode 100644 index 00000000000..f9541e1842b Binary files /dev/null and b/srcpkgs/lbreakout2/files/lbreakout2.png differ diff --git a/srcpkgs/lbreakout2/template b/srcpkgs/lbreakout2/template new file mode 100644 index 00000000000..f87534e9fb5 --- /dev/null +++ b/srcpkgs/lbreakout2/template @@ -0,0 +1,40 @@ +# 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 " +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 +}