le PKGBUILD, j'ai réutilisé le fichier situé dans extra/ mais je l'ai aussi remis en forme et corrigé :
Code : Tout sélectionner
# Maintainer: arjan <arjan@archlinux.org>
# Contributor: Marc poiroud <marciun@free.fr>
pkgname=lbreakout2
pkgver=2.6.0.7
pkgrel=1
pkgdesc="A breakout game with nice effects, graphics, and sounds"
url="http://lgames.sourceforge.net/"
license="GPL"
arch=(i686 x86_64)
depends=('sdl_mixer' 'libvorbis' 'libogg' 'libpng' 'libmikmod')
source=(http://heanet.dl.sourceforge.net/lgames/$pkgname-2.6beta-7.tar.gz)
md5sums=('bccede972d2f73612c47ca6a5aa9770e')
build() {
cd $startdir/src/$pkgname-2.6beta-7
./configure --prefix=/usr --localstatedir=/usr/share/lbreakout2
make || return 1
make DESTDIR=$startdir/pkg install
install -D -m 644 $startdir/lbreakout2.desktop $startdir/pkg/usr/share/applications/lbreakout2.desktop
}
Code : Tout sélectionner
[Desktop Entry]
Encoding=UTF-8
Exec=lbreakout2 %u
Icon=/usr/share/lbreakout2/gfx/win_icon.png
Type=Application
Categories=Game;ArcadeGame;
Name=lbreakout2
GenericName=lbreakout2
GenericName[fr]=lbreakout2
Comment=breakout-style game
Comment[fr]=Jeu de Casse Brique
Terminal=false
StartupNotify=false
Code : Tout sélectionner
$ yaourt -Qi lbreakout2
Name : lbreakout2
Version : 2.6.0.7-1
Groups : None
Packager : Marc Poiroud <marciun@free.fr>
URL : http://lgames.sourceforge.net/
License : GPL
Architecture : i686
Size : 4122977
Build Date : Fri Nov 3 18:54:58 2006 UTC
Install Date : Fri Nov 3 18:55:55 2006 UTC
Install Script : No
Reason: : explicitly installed
Provides : None
Depends On : libmikmod libogg libpng libvorbis sdl_mixer
Required By : None
Conflicts With : None
Description : A breakout game with nice effects, graphics, and sounds
PS : il peut aussi se jouer en réseau