[arch-commits] Commit in rubiks (13 files)
Antonio Rojas
arojas at archlinux.org
Tue Dec 23 10:53:46 UTC 2014
Date: Tuesday, December 23, 2014 @ 11:53:46
Author: arojas
Revision: 124392
archrelease: copy trunk to community-i686, community-x86_64
Added:
rubiks/repos/
rubiks/repos/community-i686/
rubiks/repos/community-i686/PKGBUILD
(from rev 124391, rubiks/trunk/PKGBUILD)
rubiks/repos/community-i686/dietz-cu2-Makefile
(from rev 124391, rubiks/trunk/dietz-cu2-Makefile)
rubiks/repos/community-i686/dietz-mcube-Makefile
(from rev 124391, rubiks/trunk/dietz-mcube-Makefile)
rubiks/repos/community-i686/dietz-solver-Makefile
(from rev 124391, rubiks/trunk/dietz-solver-Makefile)
rubiks/repos/community-i686/reid-Makefile
(from rev 124391, rubiks/trunk/reid-Makefile)
rubiks/repos/community-x86_64/
rubiks/repos/community-x86_64/PKGBUILD
(from rev 124391, rubiks/trunk/PKGBUILD)
rubiks/repos/community-x86_64/dietz-cu2-Makefile
(from rev 124391, rubiks/trunk/dietz-cu2-Makefile)
rubiks/repos/community-x86_64/dietz-mcube-Makefile
(from rev 124391, rubiks/trunk/dietz-mcube-Makefile)
rubiks/repos/community-x86_64/dietz-solver-Makefile
(from rev 124391, rubiks/trunk/dietz-solver-Makefile)
rubiks/repos/community-x86_64/reid-Makefile
(from rev 124391, rubiks/trunk/reid-Makefile)
----------------------------------------+
community-i686/PKGBUILD | 31 ++++++++++++++++++++++
community-i686/dietz-cu2-Makefile | 38 +++++++++++++++++++++++++++
community-i686/dietz-mcube-Makefile | 43 +++++++++++++++++++++++++++++++
community-i686/dietz-solver-Makefile | 33 +++++++++++++++++++++++
community-i686/reid-Makefile | 8 +++++
community-x86_64/PKGBUILD | 31 ++++++++++++++++++++++
community-x86_64/dietz-cu2-Makefile | 38 +++++++++++++++++++++++++++
community-x86_64/dietz-mcube-Makefile | 43 +++++++++++++++++++++++++++++++
community-x86_64/dietz-solver-Makefile | 33 +++++++++++++++++++++++
community-x86_64/reid-Makefile | 8 +++++
10 files changed, 306 insertions(+)
Copied: rubiks/repos/community-i686/PKGBUILD (from rev 124391, rubiks/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <nqn76sw at gmail.com>
+
+pkgname=rubiks
+pkgver=20070912
+pkgrel=1
+pkgdesc="Several programs for working with Rubik's cubes"
+arch=('i686' 'x86_64')
+url="http://www.sagemath.org"
+license=('GPL')
+depends=('gcc-libs')
+makedepends=()
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'dietz-cu2-Makefile' 'dietz-mcube-Makefile' 'dietz-solver-Makefile' 'reid-Makefile')
+md5sums=('af005309b248f0bba49673a0e5ba3ce8'
+ '817c6fccae52a5f4c839153ef5d7419f'
+ '296780d7921fbdbefeef59e37770b8ce'
+ '8bd416351a0e1e80078832270e7c9690'
+ '3a1f748d4a556c2d0440b52cf715b38b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ cp $srcdir/dietz-mcube-Makefile dietz/mcube/Makefile
+ cp $srcdir/dietz-solver-Makefile dietz/solver/Makefile
+ cp $srcdir/dietz-cu2-Makefile dietz/cu2/Makefile
+ cp $srcdir/reid-Makefile reid/Makefile
+
+}
+
+package() {
+ cd $pkgname-$pkgver
+ INSTALL=/usr/bin/install make PREFIX="$pkgdir"/usr install
+}
Copied: rubiks/repos/community-i686/dietz-cu2-Makefile (from rev 124391, rubiks/trunk/dietz-cu2-Makefile)
===================================================================
--- repos/community-i686/dietz-cu2-Makefile (rev 0)
+++ repos/community-i686/dietz-cu2-Makefile 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,38 @@
+RM=rm -f
+INCLUDES=cu2.h config.h
+OBJS=cu2.o main.o
+LIBS=
+DBGCFLAGS=
+DBGLFLAGS=
+DBGOBJS=cu2.o.dbg main.o.dbg
+DBGLIBS=
+
+all: build
+
+debug: build-debug
+
+build: $(OBJS)
+ $(CXX) $(CXXFLAGS) -o cu2 $(OBJS) $(LIBS)
+
+build-debug: $(DBGOBJS)
+ $(CXX) $(DBGLFLAGS) -o cu2 $(OBJS) $(DBGLIBS)
+
+clean:
+ $(RM) $(OBJS)
+
+distclean: clean
+ $(RM) cu2
+
+main.o: main.cpp $(INCLUDES)
+ $(CXX) $(CXXFLAGS) -c main.cpp
+
+cu2.o: cu2.cpp $(INCLUDES)
+ $(CXX) $(CXXFLAGS) -c cu2.cpp
+
+main.o.dbg: main.cpp $(INCLUDES)
+ $(CXX) $(DBGCFLAGS) -c main.cpp
+
+cu2.o.dbg: cu2.cpp $(INCLUDES)
+ $(CXX) $(DBGCFLAGS) -c cu2.cpp
+
+dummy:
\ No newline at end of file
Copied: rubiks/repos/community-i686/dietz-mcube-Makefile (from rev 124391, rubiks/trunk/dietz-mcube-Makefile)
===================================================================
--- repos/community-i686/dietz-mcube-Makefile (rev 0)
+++ repos/community-i686/dietz-mcube-Makefile 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,43 @@
+# makefile for mcube with gcc on *nix by Eric
+# This makefile was seriously broken, using for example CPP for
+# the C++ compiler, CFLAGS for compiler flags for the C++ compiler
+# DBGCFLAGS was set to an empty value, but then used. Not a serious
+# issue, but as it was surpurflous, I removed it.
+# It was broken in other ways too numerous to mention.
+# Edited by David Kirkby, 29th Sept 2009
+
+RM=rm -f
+INCLUDES=mcube.h config.h
+OBJS=mcube.o main.o
+DBGOBJS=mcube.o.dbg main.o.dbg
+DBGLIBS=
+
+all: build
+
+debug: build-debug
+
+build: $(OBJS)
+ $(CXX) $(CXXFLAGS) -o mcube $(OBJS) $(LIBS)
+
+build-debug: $(DBGOBJS)
+ $(CXX) $(CXXFLAGS) -o mcube $(OBJS) $(DBGLIBS)
+
+clean:
+ $(RM) $(OBJS)
+
+distclean: clean
+ $(RM) mcube
+
+main.o: main.cpp $(INCLUDES)
+ $(CXX) $(CXXFLAGS) -c main.cpp
+
+mcube.o: mcube.cpp $(INCLUDES)
+ $(CXX) $(CXXFLAGS) -c mcube.cpp
+
+main.o.dbg: main.cpp $(INCLUDES)
+ $(CXX) -c main.cpp
+
+mcube.o.dbg: mcube.cpp $(INCLUDES)
+ $(CXX) -c mcube.cpp
+
+dummy:
\ No newline at end of file
Copied: rubiks/repos/community-i686/dietz-solver-Makefile (from rev 124391, rubiks/trunk/dietz-solver-Makefile)
===================================================================
--- repos/community-i686/dietz-solver-Makefile (rev 0)
+++ repos/community-i686/dietz-solver-Makefile 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,33 @@
+# Makefile for cubex by Eric
+# This Makefile was seriously broken.
+# CC was set to g++. Since it was compiling C++ files,
+# CXX should have been used.
+# LINK was set to g++, so I changed that to LD
+# CFLAGS was set to -O2. I've removed that, so it can be set
+# in spkg-install.
+# In any case, it should have been CXXFLAGS
+# LFLAGS and INCLUDES were both empty
+# David Kirkby, 29th Sept 2009
+
+INCLUDES=
+OBJS=cubex.o main.o
+RM=/bin/rm -f
+
+all: build
+
+build: $(OBJS)
+ $(CXX) $(CXXFLAGS) -o cubex $(OBJS)
+
+clean:
+ $(RM) $(OBJS)
+
+distclean: clean
+ $(RM) cubex
+
+cubex.o: cubex.cpp $(INCLUDES) cubex.h
+ $(CXX) $(CXXFLAGS) -c cubex.cpp
+
+main.o: main.cpp $(INCLUDES) cubex.h
+ $(CXX) $(CXXFLAGS) -c main.cpp
+
+dummy:
\ No newline at end of file
Copied: rubiks/repos/community-i686/reid-Makefile (from rev 124391, rubiks/trunk/reid-Makefile)
===================================================================
--- repos/community-i686/reid-Makefile (rev 0)
+++ repos/community-i686/reid-Makefile 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,8 @@
+all: optimal twist
+
+
+clean:
+ rm -f *.o
+
+distclean: clean
+ rm -f optimal twist
\ No newline at end of file
Copied: rubiks/repos/community-x86_64/PKGBUILD (from rev 124391, rubiks/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <nqn76sw at gmail.com>
+
+pkgname=rubiks
+pkgver=20070912
+pkgrel=1
+pkgdesc="Several programs for working with Rubik's cubes"
+arch=('i686' 'x86_64')
+url="http://www.sagemath.org"
+license=('GPL')
+depends=('gcc-libs')
+makedepends=()
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'dietz-cu2-Makefile' 'dietz-mcube-Makefile' 'dietz-solver-Makefile' 'reid-Makefile')
+md5sums=('af005309b248f0bba49673a0e5ba3ce8'
+ '817c6fccae52a5f4c839153ef5d7419f'
+ '296780d7921fbdbefeef59e37770b8ce'
+ '8bd416351a0e1e80078832270e7c9690'
+ '3a1f748d4a556c2d0440b52cf715b38b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ cp $srcdir/dietz-mcube-Makefile dietz/mcube/Makefile
+ cp $srcdir/dietz-solver-Makefile dietz/solver/Makefile
+ cp $srcdir/dietz-cu2-Makefile dietz/cu2/Makefile
+ cp $srcdir/reid-Makefile reid/Makefile
+
+}
+
+package() {
+ cd $pkgname-$pkgver
+ INSTALL=/usr/bin/install make PREFIX="$pkgdir"/usr install
+}
Copied: rubiks/repos/community-x86_64/dietz-cu2-Makefile (from rev 124391, rubiks/trunk/dietz-cu2-Makefile)
===================================================================
--- repos/community-x86_64/dietz-cu2-Makefile (rev 0)
+++ repos/community-x86_64/dietz-cu2-Makefile 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,38 @@
+RM=rm -f
+INCLUDES=cu2.h config.h
+OBJS=cu2.o main.o
+LIBS=
+DBGCFLAGS=
+DBGLFLAGS=
+DBGOBJS=cu2.o.dbg main.o.dbg
+DBGLIBS=
+
+all: build
+
+debug: build-debug
+
+build: $(OBJS)
+ $(CXX) $(CXXFLAGS) -o cu2 $(OBJS) $(LIBS)
+
+build-debug: $(DBGOBJS)
+ $(CXX) $(DBGLFLAGS) -o cu2 $(OBJS) $(DBGLIBS)
+
+clean:
+ $(RM) $(OBJS)
+
+distclean: clean
+ $(RM) cu2
+
+main.o: main.cpp $(INCLUDES)
+ $(CXX) $(CXXFLAGS) -c main.cpp
+
+cu2.o: cu2.cpp $(INCLUDES)
+ $(CXX) $(CXXFLAGS) -c cu2.cpp
+
+main.o.dbg: main.cpp $(INCLUDES)
+ $(CXX) $(DBGCFLAGS) -c main.cpp
+
+cu2.o.dbg: cu2.cpp $(INCLUDES)
+ $(CXX) $(DBGCFLAGS) -c cu2.cpp
+
+dummy:
\ No newline at end of file
Copied: rubiks/repos/community-x86_64/dietz-mcube-Makefile (from rev 124391, rubiks/trunk/dietz-mcube-Makefile)
===================================================================
--- repos/community-x86_64/dietz-mcube-Makefile (rev 0)
+++ repos/community-x86_64/dietz-mcube-Makefile 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,43 @@
+# makefile for mcube with gcc on *nix by Eric
+# This makefile was seriously broken, using for example CPP for
+# the C++ compiler, CFLAGS for compiler flags for the C++ compiler
+# DBGCFLAGS was set to an empty value, but then used. Not a serious
+# issue, but as it was surpurflous, I removed it.
+# It was broken in other ways too numerous to mention.
+# Edited by David Kirkby, 29th Sept 2009
+
+RM=rm -f
+INCLUDES=mcube.h config.h
+OBJS=mcube.o main.o
+DBGOBJS=mcube.o.dbg main.o.dbg
+DBGLIBS=
+
+all: build
+
+debug: build-debug
+
+build: $(OBJS)
+ $(CXX) $(CXXFLAGS) -o mcube $(OBJS) $(LIBS)
+
+build-debug: $(DBGOBJS)
+ $(CXX) $(CXXFLAGS) -o mcube $(OBJS) $(DBGLIBS)
+
+clean:
+ $(RM) $(OBJS)
+
+distclean: clean
+ $(RM) mcube
+
+main.o: main.cpp $(INCLUDES)
+ $(CXX) $(CXXFLAGS) -c main.cpp
+
+mcube.o: mcube.cpp $(INCLUDES)
+ $(CXX) $(CXXFLAGS) -c mcube.cpp
+
+main.o.dbg: main.cpp $(INCLUDES)
+ $(CXX) -c main.cpp
+
+mcube.o.dbg: mcube.cpp $(INCLUDES)
+ $(CXX) -c mcube.cpp
+
+dummy:
\ No newline at end of file
Copied: rubiks/repos/community-x86_64/dietz-solver-Makefile (from rev 124391, rubiks/trunk/dietz-solver-Makefile)
===================================================================
--- repos/community-x86_64/dietz-solver-Makefile (rev 0)
+++ repos/community-x86_64/dietz-solver-Makefile 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,33 @@
+# Makefile for cubex by Eric
+# This Makefile was seriously broken.
+# CC was set to g++. Since it was compiling C++ files,
+# CXX should have been used.
+# LINK was set to g++, so I changed that to LD
+# CFLAGS was set to -O2. I've removed that, so it can be set
+# in spkg-install.
+# In any case, it should have been CXXFLAGS
+# LFLAGS and INCLUDES were both empty
+# David Kirkby, 29th Sept 2009
+
+INCLUDES=
+OBJS=cubex.o main.o
+RM=/bin/rm -f
+
+all: build
+
+build: $(OBJS)
+ $(CXX) $(CXXFLAGS) -o cubex $(OBJS)
+
+clean:
+ $(RM) $(OBJS)
+
+distclean: clean
+ $(RM) cubex
+
+cubex.o: cubex.cpp $(INCLUDES) cubex.h
+ $(CXX) $(CXXFLAGS) -c cubex.cpp
+
+main.o: main.cpp $(INCLUDES) cubex.h
+ $(CXX) $(CXXFLAGS) -c main.cpp
+
+dummy:
\ No newline at end of file
Copied: rubiks/repos/community-x86_64/reid-Makefile (from rev 124391, rubiks/trunk/reid-Makefile)
===================================================================
--- repos/community-x86_64/reid-Makefile (rev 0)
+++ repos/community-x86_64/reid-Makefile 2014-12-23 10:53:46 UTC (rev 124392)
@@ -0,0 +1,8 @@
+all: optimal twist
+
+
+clean:
+ rm -f *.o
+
+distclean: clean
+ rm -f optimal twist
\ No newline at end of file
More information about the arch-commits
mailing list