[arch-commits] Commit in xpacman2/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 5 17:52:51 UTC 2015


    Date: Saturday, December 5, 2015 @ 18:52:51
  Author: bpiotrowski
Revision: 148595

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  xpacman2/repos/community-staging-i686/
  xpacman2/repos/community-staging-i686/PKGBUILD
    (from rev 148594, xpacman2/trunk/PKGBUILD)
  xpacman2/repos/community-staging-i686/build-fix.patch
    (from rev 148594, xpacman2/trunk/build-fix.patch)
  xpacman2/repos/community-staging-x86_64/
  xpacman2/repos/community-staging-x86_64/PKGBUILD
    (from rev 148594, xpacman2/trunk/PKGBUILD)
  xpacman2/repos/community-staging-x86_64/build-fix.patch
    (from rev 148594, xpacman2/trunk/build-fix.patch)

------------------------------------------+
 community-staging-i686/PKGBUILD          |   29 ++++++++++++++++++++++
 community-staging-i686/build-fix.patch   |   37 +++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD        |   29 ++++++++++++++++++++++
 community-staging-x86_64/build-fix.patch |   37 +++++++++++++++++++++++++++++
 4 files changed, 132 insertions(+)

Copied: xpacman2/repos/community-staging-i686/PKGBUILD (from rev 148594, xpacman2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-05 17:52:51 UTC (rev 148595)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=xpacman2
+pkgver=1.002
+pkgrel=6
+pkgdesc="another X pacman game"
+arch=('i686' 'x86_64')
+url="ftp://ftp.nvg.unit.no/pub/pacman/"
+license=('GPL')
+depends=(libx11 ncurses gcc-libs)
+makedepends=()
+source=(https://sources.archlinux.org/other/$pkgname/pacman-${pkgver/./_}.tar.gz
+	build-fix.patch)
+md5sums=('afcbc268d1eff6ea3a834c7a5f715f77'
+         '4faf33134a2a74f284059a2971833fa1')
+
+build() {
+  cd $srcdir/pacman-${pkgver/./_}
+  patch -Np1 <../build-fix.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $srcdir/pacman-${pkgver/./_}
+  make DESTDIR=$pkgdir install
+  (cd $pkgdir/usr/bin/ && mv pacman xpacman2)
+}

Copied: xpacman2/repos/community-staging-i686/build-fix.patch (from rev 148594, xpacman2/trunk/build-fix.patch)
===================================================================
--- community-staging-i686/build-fix.patch	                        (rev 0)
+++ community-staging-i686/build-fix.patch	2015-12-05 17:52:51 UTC (rev 148595)
@@ -0,0 +1,37 @@
+diff -wbBur pacman-1_002/ghost.cc pacman-1_002.my/ghost.cc
+--- pacman-1_002/ghost.cc	1995-07-21 19:35:30.000000000 +0400
++++ pacman-1_002.my/ghost.cc	2007-07-03 19:18:56.000000000 +0400
+@@ -165,7 +165,7 @@
+ 	    }
+ }
+ 
+-Ghost::go(Pacman *pac) {	//go for pacman: do ghost code
++int Ghost::go(Pacman *pac) {	//go for pacman: do ghost code
+ typ w;				//what type is at next coordinates
+ int i=1;			//moved or not?
+ int xx,yy;			//coordinates
+diff -wbBur pacman-1_002/ghost.h pacman-1_002.my/ghost.h
+--- pacman-1_002/ghost.h	1995-04-07 21:02:34.000000000 +0400
++++ pacman-1_002.my/ghost.h	2007-07-03 19:19:01.000000000 +0400
+@@ -31,7 +31,7 @@
+ Ghost(COLOURTYPE,int,int);		//constructor with coordinates
+ ~Ghost();				//destructor
+ void draw(void);			//draw the ghost
+-go(Pacman*);				//go for pacman: do ghost code
++int go(Pacman*);				//go for pacman: do ghost code
+ typ is_a(void) {return classGhost;}    
+ void eat(void);				//when pacman eats ghost
+ void getxy(int*,int*);
+diff -wbBur pacman-1_002/point.cc pacman-1_002.my/point.cc
+--- pacman-1_002/point.cc	1995-02-28 13:41:08.000000000 +0300
++++ pacman-1_002.my/point.cc	2007-07-03 19:19:16.000000000 +0400
+@@ -1,7 +1,7 @@
+ #include"point.h"
+ Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; 
+-Point::val_x() { return x; };
+-Point::val_y() { return y; };
++int Point::val_x() { return x; };
++int Point::val_y() { return y; };
+ void Point::set_x(int xx) { x=xx; };
+ void Point::set_y(int yy) { y=yy; };
+ void Point::set_xy(int xx,int yy) { x=xx; y=yy; };

Copied: xpacman2/repos/community-staging-x86_64/PKGBUILD (from rev 148594, xpacman2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-05 17:52:51 UTC (rev 148595)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=xpacman2
+pkgver=1.002
+pkgrel=6
+pkgdesc="another X pacman game"
+arch=('i686' 'x86_64')
+url="ftp://ftp.nvg.unit.no/pub/pacman/"
+license=('GPL')
+depends=(libx11 ncurses gcc-libs)
+makedepends=()
+source=(https://sources.archlinux.org/other/$pkgname/pacman-${pkgver/./_}.tar.gz
+	build-fix.patch)
+md5sums=('afcbc268d1eff6ea3a834c7a5f715f77'
+         '4faf33134a2a74f284059a2971833fa1')
+
+build() {
+  cd $srcdir/pacman-${pkgver/./_}
+  patch -Np1 <../build-fix.patch
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $srcdir/pacman-${pkgver/./_}
+  make DESTDIR=$pkgdir install
+  (cd $pkgdir/usr/bin/ && mv pacman xpacman2)
+}

Copied: xpacman2/repos/community-staging-x86_64/build-fix.patch (from rev 148594, xpacman2/trunk/build-fix.patch)
===================================================================
--- community-staging-x86_64/build-fix.patch	                        (rev 0)
+++ community-staging-x86_64/build-fix.patch	2015-12-05 17:52:51 UTC (rev 148595)
@@ -0,0 +1,37 @@
+diff -wbBur pacman-1_002/ghost.cc pacman-1_002.my/ghost.cc
+--- pacman-1_002/ghost.cc	1995-07-21 19:35:30.000000000 +0400
++++ pacman-1_002.my/ghost.cc	2007-07-03 19:18:56.000000000 +0400
+@@ -165,7 +165,7 @@
+ 	    }
+ }
+ 
+-Ghost::go(Pacman *pac) {	//go for pacman: do ghost code
++int Ghost::go(Pacman *pac) {	//go for pacman: do ghost code
+ typ w;				//what type is at next coordinates
+ int i=1;			//moved or not?
+ int xx,yy;			//coordinates
+diff -wbBur pacman-1_002/ghost.h pacman-1_002.my/ghost.h
+--- pacman-1_002/ghost.h	1995-04-07 21:02:34.000000000 +0400
++++ pacman-1_002.my/ghost.h	2007-07-03 19:19:01.000000000 +0400
+@@ -31,7 +31,7 @@
+ Ghost(COLOURTYPE,int,int);		//constructor with coordinates
+ ~Ghost();				//destructor
+ void draw(void);			//draw the ghost
+-go(Pacman*);				//go for pacman: do ghost code
++int go(Pacman*);				//go for pacman: do ghost code
+ typ is_a(void) {return classGhost;}    
+ void eat(void);				//when pacman eats ghost
+ void getxy(int*,int*);
+diff -wbBur pacman-1_002/point.cc pacman-1_002.my/point.cc
+--- pacman-1_002/point.cc	1995-02-28 13:41:08.000000000 +0300
++++ pacman-1_002.my/point.cc	2007-07-03 19:19:16.000000000 +0400
+@@ -1,7 +1,7 @@
+ #include"point.h"
+ Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; 
+-Point::val_x() { return x; };
+-Point::val_y() { return y; };
++int Point::val_x() { return x; };
++int Point::val_y() { return y; };
+ void Point::set_x(int xx) { x=xx; };
+ void Point::set_y(int yy) { y=yy; };
+ void Point::set_xy(int xx,int yy) { x=xx; y=yy; };



More information about the arch-commits mailing list