20 lines
662 B
Plaintext
20 lines
662 B
Plaintext
# Description: game where you must aim a bouncing ball to clear a field of bricks
|
|
# URL: http://lgames.sourceforge.net/LBreakoutHD/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: sdl2_image sdl2_mixer sdl2_ttf
|
|
|
|
name=lbreakouthd
|
|
version=1.1
|
|
release=1
|
|
source=(https://downloads.sourceforge.net/project/lgames/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd "$name-$version"
|
|
|
|
sed -i "/^icondir =/s/icons/lbreakouthd/" Makefile.in
|
|
./configure --prefix=/usr --localstatedir=/var/tmp --disable-nls
|
|
make DESTDIR=$PKG install
|
|
sed -i "/^Icon=/s/icons/lbreakouthd/" $PKG/usr/share/applications/lbreakouthd.desktop
|
|
rm -rf $PKG/var
|
|
}
|