[arch-commits] CVS update of extra/games/gltron (PKGBUILD gltron-0.70-debian.patch)

Eric Belanger eric at archlinux.org
Sun Nov 4 21:50:06 UTC 2007


    Date: Sunday, November 4, 2007 @ 16:50:06
  Author: eric
    Path: /home/cvs-extra/extra/games/gltron

 Removed: PKGBUILD (1.8) gltron-0.70-debian.patch (1.1)

extra repo cleanup


--------------------------+
 PKGBUILD                 |   24 ------------------------
 gltron-0.70-debian.patch |   35 -----------------------------------
 2 files changed, 59 deletions(-)


Index: extra/games/gltron/PKGBUILD
diff -u extra/games/gltron/PKGBUILD:1.8 extra/games/gltron/PKGBUILD:removed
--- extra/games/gltron/PKGBUILD:1.8	Sun Mar 25 17:12:05 2007
+++ extra/games/gltron/PKGBUILD	Sun Nov  4 16:50:06 2007
@@ -1,24 +0,0 @@
-# $Id: PKGBUILD,v 1.8 2007/03/25 21:12:05 andyrtr Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
-# Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
-
-pkgname=gltron
-pkgver=0.70
-pkgrel=1
-pkgdesc="A tron-like lightcycle game with a nice 3D perspective."
-arch=('i686' 'x86_64')
-depends=('sdl_sound' 'libpng' 'mesa')
-source=(http://umn.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-source.tar.gz
-	gltron-0.70-debian.patch)
-url="http://www.gltron.org/gltron.html"
-md5sums=('300e54914844f36c199415d6d8b0372a' 'd53c903bba366af12c1fdcc578d32da1')
-
-build() {
-  cd $startdir/src/$pkgname-$pkgver
-  if [ "$CARCH" = "x86_64" ]; then
-   patch -Np0 -i ../gltron-0.70-debian.patch || return 1
-  fi
-  ./configure --prefix=/usr
-  make || return 1
-  make prefix=$startdir/pkg/usr install
-}
Index: extra/games/gltron/gltron-0.70-debian.patch
diff -u extra/games/gltron/gltron-0.70-debian.patch:1.1 extra/games/gltron/gltron-0.70-debian.patch:removed
--- extra/games/gltron/gltron-0.70-debian.patch:1.1	Sun Mar 25 17:12:05 2007
+++ extra/games/gltron/gltron-0.70-debian.patch	Sun Nov  4 16:50:06 2007
@@ -1,35 +0,0 @@
-Ripped from Debian patchset 6
-
---- src/include/game/game_data.h
-+++ src/include/game/game_data.h
-@@ -71,7 +71,7 @@
- typedef struct AI {
-   int active;
-   int tdiff;
--  long lasttime;
-+  unsigned int lasttime;
- 	segment2 left, right, front, backleft;
- } AI;
- 
---- src/include/video/fonttex.h
-+++ src/include/video/fonttex.h
-@@ -10,7 +10,7 @@
-   int lower; /* lowest ascii character (normally: 32) */
-   int upper; /* highest ascii character (normally: 126) */
- 
--  int *texID;
-+  unsigned int *texID;
- 
-   char *fontname;
-   char *bitmapname;
---- src/video/trail.c
-+++ src/video/trail.c
-@@ -19,7 +19,7 @@
-   n[1] = s->vStart.v[1] - s->vDirection.v[0];
-   tmp[0] = eye[0] - s->vStart.v[0];
-   tmp[1] = eye[1] - s->vStart.v[1];
--  if(n[0] == n[1] == 0) return length(tmp);
-+  if(n[0] == 0 && n[1] == 0) return length(tmp);
-   return abs(scalarprod2(n, tmp) / length(n));
- }
- 




More information about the arch-commits mailing list