summaryrefslogtreecommitdiffstats
path: root/extra/lbreakout2/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:28:13 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-10 23:28:13 +0200
commit98d1d4aa332169761977e94d3d229bf4d554880d (patch)
treebc9b732b7914a2a022d7eed2a2c7d4b7d333b18b /extra/lbreakout2/Pkgfile
parentf938c2bb9acda6403ec19b6aa9ef2d5587d11ad8 (diff)
downloadnutyx-pakxe-98d1d4aa332169761977e94d3d229bf4d554880d.tar.gz
nutyx-pakxe-98d1d4aa332169761977e94d3d229bf4d554880d.tar.bz2
nutyx-pakxe-98d1d4aa332169761977e94d3d229bf4d554880d.tar.xz
nutyx-pakxe-98d1d4aa332169761977e94d3d229bf4d554880d.zip
Ajout de lbreakout2#2.6beta_7-2
Diffstat (limited to 'extra/lbreakout2/Pkgfile')
-rwxr-xr-xextra/lbreakout2/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/lbreakout2/Pkgfile b/extra/lbreakout2/Pkgfile
new file mode 100755
index 000000000..e99fa833f
--- /dev/null
+++ b/extra/lbreakout2/Pkgfile
@@ -0,0 +1,31 @@
+# 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
+}
+
+