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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 18:17:26 UTC 2020


    Date: Tuesday, July 7, 2020 @ 18:17:25
  Author: felixonmars
Revision: 660074

archrelease: copy trunk to community-staging-x86_64

Added:
  rubiks/repos/community-staging-x86_64/
  rubiks/repos/community-staging-x86_64/PKGBUILD
    (from rev 660072, rubiks/trunk/PKGBUILD)
  rubiks/repos/community-staging-x86_64/dietz-cu2-Makefile
    (from rev 660073, rubiks/trunk/dietz-cu2-Makefile)
  rubiks/repos/community-staging-x86_64/dietz-mcube-Makefile
    (from rev 660073, rubiks/trunk/dietz-mcube-Makefile)
  rubiks/repos/community-staging-x86_64/dietz-solver-Makefile
    (from rev 660073, rubiks/trunk/dietz-solver-Makefile)
  rubiks/repos/community-staging-x86_64/reid-Makefile
    (from rev 660073, rubiks/trunk/reid-Makefile)

-----------------------+
 PKGBUILD              |   32 ++++++++++++++++++++++++++++++++
 dietz-cu2-Makefile    |   38 ++++++++++++++++++++++++++++++++++++++
 dietz-mcube-Makefile  |   43 +++++++++++++++++++++++++++++++++++++++++++
 dietz-solver-Makefile |   33 +++++++++++++++++++++++++++++++++
 reid-Makefile         |    8 ++++++++
 5 files changed, 154 insertions(+)

Copied: rubiks/repos/community-staging-x86_64/PKGBUILD (from rev 660072, rubiks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 18:17:25 UTC (rev 660074)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=rubiks
+pkgver=20070912
+pkgrel=4
+pkgdesc="Several programs for working with Rubik's cubes"
+arch=(x86_64)
+url="https://www.sagemath.org"
+license=(GPL)
+depends=(gcc-libs)
+#source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 
+source=("https://mirrors.mit.edu/sage/spkg/upstream/$pkgname/$pkgname-$pkgver.tar.bz2"
+  'dietz-mcube-Makefile' 'dietz-cu2-Makefile' 'dietz-solver-Makefile' 'reid-Makefile')
+sha256sums=('d8f9f1bcf7a1c7e152eb0df429d391b1a723c614eb7fad6fbbdacf20c19ab57d'
+            '63346eb09bf104802a102ce82aea07469c9085ecdc74ab403945aac7f0a0a744'
+            '5ed64254799958aeaa2d6ae17a6d94e25a92260a7ae19cb1ca741c8a3514cc3a'
+            'cf5f40e40f1dd77cba2ffa7cc83b74e338797c32cfb8c751560faa60cd2e63b1'
+            '0c97aac3b02f2dbd366af58de4e931b7764280fc733505742a11ae9ec4f424c6')
+
+prepare() {
+  cd $pkgname-$pkgver
+  cp ../dietz-mcube-Makefile dietz/mcube/Makefile
+  cp ../dietz-solver-Makefile dietz/solver/Makefile
+  cp ../dietz-cu2-Makefile dietz/cu2/Makefile
+  cp ../reid-Makefile reid/Makefile
+
+}
+
+package() {
+  cd $pkgname-$pkgver
+  INSTALL=/usr/bin/install make PREFIX="$pkgdir"/usr install
+}

Copied: rubiks/repos/community-staging-x86_64/dietz-cu2-Makefile (from rev 660073, rubiks/trunk/dietz-cu2-Makefile)
===================================================================
--- community-staging-x86_64/dietz-cu2-Makefile	                        (rev 0)
+++ community-staging-x86_64/dietz-cu2-Makefile	2020-07-07 18:17:25 UTC (rev 660074)
@@ -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-staging-x86_64/dietz-mcube-Makefile (from rev 660073, rubiks/trunk/dietz-mcube-Makefile)
===================================================================
--- community-staging-x86_64/dietz-mcube-Makefile	                        (rev 0)
+++ community-staging-x86_64/dietz-mcube-Makefile	2020-07-07 18:17:25 UTC (rev 660074)
@@ -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-staging-x86_64/dietz-solver-Makefile (from rev 660073, rubiks/trunk/dietz-solver-Makefile)
===================================================================
--- community-staging-x86_64/dietz-solver-Makefile	                        (rev 0)
+++ community-staging-x86_64/dietz-solver-Makefile	2020-07-07 18:17:25 UTC (rev 660074)
@@ -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-staging-x86_64/reid-Makefile (from rev 660073, rubiks/trunk/reid-Makefile)
===================================================================
--- community-staging-x86_64/reid-Makefile	                        (rev 0)
+++ community-staging-x86_64/reid-Makefile	2020-07-07 18:17:25 UTC (rev 660074)
@@ -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