[arch-commits] CVS update of extra/games/asteroids3d (PKGBUILD share.diff)
Eric Belanger
eric at archlinux.org
Sun Nov 4 21:36:10 UTC 2007
Date: Sunday, November 4, 2007 @ 16:36:10
Author: eric
Path: /home/cvs-extra/extra/games/asteroids3d
Removed: PKGBUILD (1.7) share.diff (1.1)
extra repo cleanup
------------+
PKGBUILD | 26 ------------------------
share.diff | 62 -----------------------------------------------------------
2 files changed, 88 deletions(-)
Index: extra/games/asteroids3d/PKGBUILD
diff -u extra/games/asteroids3d/PKGBUILD:1.7 extra/games/asteroids3d/PKGBUILD:removed
--- extra/games/asteroids3d/PKGBUILD:1.7 Tue Jul 18 17:02:39 2006
+++ extra/games/asteroids3d/PKGBUILD Sun Nov 4 16:36:10 2007
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD,v 1.7 2006/07/18 21:02:39 andyrtr Exp $
-# Maintainer: simo <simo at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-#
-pkgname=asteroids3d
-_pkgname=asteroids3D
-pkgver=0.4.0
-pkgrel=2
-pkgdesc="Asteroids3D is a 3D, first-person game of blowing up asteroids"
-arch=(i686 x86_64)
-depends=('libgl' 'libxi' 'libxmu' 'freeglut')
-source=(http://jengelh.hopto.org/f/asteroids3D/$_pkgname-$pkgver.tbz2 share.diff)
-url="http://jengelh.hopto.org/coding/as3d.php"
-md5sums=('4ea6e846e022feab6db5c25ddf67276a' '476552a84296a4ed9eb72c5b6445ef7d')
-
-build() {
- cd $startdir/src
- tar xjf $_pkgname-$pkgver.tbz2
- cd $_pkgname-$pkgver
- patch -p1 < $startdir/src/share.diff
- make LDFLAGS='-L/usr/X11R6/lib -lGL -lX11 -lXext -lXmu -lXi' || return 1
- install -D -m755 asteroids3D $startdir/pkg/usr/bin/asteroids3D
- for i in `find -name '*.ub' -or -name '*.ppm'`; do
- install -D -m644 $i $startdir/pkg/usr/share/asteroids3D/`basename $i`
- done
-}
Index: extra/games/asteroids3d/share.diff
diff -u extra/games/asteroids3d/share.diff:1.1 extra/games/asteroids3d/share.diff:removed
--- extra/games/asteroids3d/share.diff:1.1 Wed Nov 23 20:12:02 2005
+++ extra/games/asteroids3d/share.diff Sun Nov 4 16:36:10 2007
@@ -1,62 +0,0 @@
-diff -Nru asteroids3D-0.4.0/sound.c asteroids3D-0.4.0.new/sound.c
---- asteroids3D-0.4.0/sound.c 2005-11-05 10:39:33.000000000 -0600
-+++ asteroids3D-0.4.0.new/sound.c 2005-11-23 19:05:18.000000000 -0600
-@@ -109,15 +109,15 @@
- queue_sound() when it does the memcpy. */
-
- printf("Reading sounds\n");
-- rd_sound("ast_snd0.ub", &ast_snd[0]);
-- rd_sound("ast_snd1.ub", &ast_snd[1]);
-- rd_sound("ast_snd2.ub", &ast_snd[2]);
-- rd_sound("ast_snd3.ub", &ast_snd[3]);
-- rd_sound("ast_snd4.ub", &ast_snd[4]);
-- rd_sound("ast_snd5.ub", &ast_snd[5]);
-- rd_sound("ta_snd.ub", &ta_snd);
-- rd_sound("tf_snd.ub", &tf_snd);
-- rd_sound("coll_snd.ub", &coll_snd);
-+ rd_sound("/usr/share/asteroids3D/ast_snd0.ub", &ast_snd[0]);
-+ rd_sound("/usr/share/asteroids3D/ast_snd1.ub", &ast_snd[1]);
-+ rd_sound("/usr/share/asteroids3D/ast_snd2.ub", &ast_snd[2]);
-+ rd_sound("/usr/share/asteroids3D/ast_snd3.ub", &ast_snd[3]);
-+ rd_sound("/usr/share/asteroids3D/ast_snd4.ub", &ast_snd[4]);
-+ rd_sound("/usr/share/asteroids3D/ast_snd5.ub", &ast_snd[5]);
-+ rd_sound("/usr/share/asteroids3D/ta_snd.ub", &ta_snd);
-+ rd_sound("/usr/share/asteroids3D/tf_snd.ub", &tf_snd);
-+ rd_sound("/usr/share/asteroids3D/coll_snd.ub", &coll_snd);
- return;
- }
-
-diff -Nru asteroids3D-0.4.0/texture.c asteroids3D-0.4.0.new/texture.c
---- asteroids3D-0.4.0/texture.c 2005-11-05 10:11:04.000000000 -0600
-+++ asteroids3D-0.4.0.new/texture.c 2005-11-23 19:06:22.000000000 -0600
-@@ -50,19 +50,19 @@
-
- void init_textures(void) {
- printf("Reading asteroid textures\n");
-- rd_ast("ast_tex0.ppm", 0);
-- rd_ast("ast_tex1.ppm", 1);
-- rd_ast("ast_tex2.ppm", 2);
-- rd_ast("ast_tex3.ppm", 3);
-- rd_ast("ast_tex4.ppm", 4);
-- rd_ast("ast_tex5.ppm", 5);
-+ rd_ast("/usr/share/asteroids3D/ast_tex0.ppm", 0);
-+ rd_ast("/usr/share/asteroids3D/ast_tex1.ppm", 1);
-+ rd_ast("/usr/share/asteroids3D/ast_tex2.ppm", 2);
-+ rd_ast("/usr/share/asteroids3D/ast_tex3.ppm", 3);
-+ rd_ast("/usr/share/asteroids3D/ast_tex4.ppm", 4);
-+ rd_ast("/usr/share/asteroids3D/ast_tex5.ppm", 5);
- printf("Reading nebula textures\n");
-- rd_neb("nebula_tex0.ppm", 0);
-- rd_neb("nebula_tex1.ppm", 1);
-- rd_neb("nebula_tex2.ppm", 2);
-- rd_neb("contrib/nebula_tex3.ppm", 3);
-+ rd_neb("/usr/share/asteroids3D/nebula_tex0.ppm", 0);
-+ rd_neb("/usr/share/asteroids3D/nebula_tex1.ppm", 1);
-+ rd_neb("/usr/share/asteroids3D/nebula_tex2.ppm", 2);
-+ rd_neb("/usr/share/asteroids3D/nebula_tex3.ppm", 3);
- printf("Reading torpedo texture\n");
-- rd_torp("torp_tex0.ppm");
-+ rd_torp("/usr/share/asteroids3D/torp_tex0.ppm");
-
- /* now, bind to the special texture 0 to turn off texturing intially.
- * This is here because texturing is off by default.
More information about the arch-commits
mailing list