blob: 8de57a9b3a7868bc87be3f88dfaa623a18a87c2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Description: Jeu de Casse Brique
# URL:http://lgames.sourceforge.net
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: sdl_mixer, libpng
name=lbreakout2
version=2.6beta_7
release=2
source=( http://downloads.sourceforge.net/lgames/$name-${version/_/-}.tar.gz
lbreakout2.desktop lbreakout2.png)
build() {
cd $name-${version/_/-}
./configure --prefix=/usr \
--localstatedir=/var/games/lbreakout2
make
make DESTDIR=$PKG/ doc_dir=/usr/share/doc install
chmod -R 755 $PKG/usr
# chown root:games $PKG/var/games
chmod 775 $PKG/var/games
# chown root:games $PKG/var/games/lbreakout2
chmod 755 $PKG/var/games/lbreakout2
# chown root:games $PKG/var/games/lbreakout2/lbreakout2.hscr
chmod 775 $PKG/var/games/lbreakout2/lbreakout2.hscr
install -Dm644 $SRC/lbreakout2.png $PKG/usr/share/pixmaps/lbreakout2.png
install -Dm644 $SRC/lbreakout2.desktop $PKG/usr/share/applications/lbreakout2.desktop
}
|