### this file is sourced not run
PKGNAME=lbreakout2
PKGVER=2.6.5
PKGBUILD=1
PKGARCH=x86_64

# source: JakeSFR
TARBALL=${PKGNAME}-${PKGVER}.tar.gz
MD5SUM=1a9238b83f9f13f09b7a4d53e00b4e84
SRC_URL=http://prdownloads.sourceforge.net/lgames/$TARBALL
BUNDLE=

SLACKREQ='libSDL
libSDL-image
libSDL-net'

SLACKDESC="${PKGNAME}: ${PKGNAME} ${PKGVER} (The successor to LBreakout)
${PKGNAME}: 
${PKGNAME}: The successor to LBreakout offers you a new challenge in more than
${PKGNAME}: 50 levels with loads of new bonuses (goldshower, joker,
${PKGNAME}: explosive balls, bonus magnet ...), maluses (chaos, darkness,
${PKGNAME}: weak balls, malus magnet ...) and special bricks (growing bricks,
${PKGNAME}: explosive bricks, regenerative bricks ...). If you are hungry for
${PKGNAME}: more you can create your own levelsets with the integrated level editor.
${PKGNAME}: There is also an experimental two player mode (via LAN) available.
${PKGNAME}: 
${PKGNAME}: http://lgames.sourceforge.net/LBreakout2/
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/${PKGNAME}* &&
	# Disable autopause when out of focus or iconified,
	# because it cat trigger for no apparent reason...
	patch -Np1 -i ../pkg/lbreakout2-disable-autopause.patch &&
	true
}
### default pkg_package
### default pkg_build
