#Maintainer: Dimitris Tzemos # pkgname=lbreakout2 pkgver=2.6.5 pkgrel=1dj source=(https://downloads.sourceforge.net/lgames/${pkgname}-${pkgver/_/-}.tar.gz lbreakout2.desktop lbreakout2.png https://salsa.debian.org/games-team/lbreakout2/raw/60e3e5339b073e12f1eb93d08dd48dfe17c35060/debian/patches/sdl_fix_pauses.patch) docs=("README" "TODO" "COPYING" "Changelog" "ABOUT-NLS") url=http://lgames.sourceforge.net/LBreakoutHD/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "lbreakout2 (an open-source Breakout clone)" "LBreakout2 is a sequel to LBreakout, featuring new levels, power-ups" "and bonuses. Control your pad and deflect the ball to hit and destroy." "all the bricks on the screen. Some of those bricks will release" "power-ups and bonus items when hit." ) build() { cd $startdir/src/$pkgname-$pkgver patch -Np1 -i $startdir/src/sdl_fix_pauses.patch || return 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --sysconfdir=/etc --enable-sdl-net --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg }