[arch-commits] Commit in benzene (7 files)

Antonio Rojas arojas at archlinux.org
Thu Jan 22 20:50:28 UTC 2015


    Date: Thursday, January 22, 2015 @ 21:50:27
  Author: arojas
Revision: 126428

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

Added:
  benzene/repos/
  benzene/repos/community-i686/
  benzene/repos/community-i686/Makefile.patch
    (from rev 126427, benzene/trunk/Makefile.patch)
  benzene/repos/community-i686/PKGBUILD
    (from rev 126427, benzene/trunk/PKGBUILD)
  benzene/repos/community-x86_64/
  benzene/repos/community-x86_64/Makefile.patch
    (from rev 126427, benzene/trunk/Makefile.patch)
  benzene/repos/community-x86_64/PKGBUILD
    (from rev 126427, benzene/trunk/PKGBUILD)

---------------------------------+
 community-i686/Makefile.patch   |   20 ++++++++++++++++++++
 community-i686/PKGBUILD         |   33 +++++++++++++++++++++++++++++++++
 community-x86_64/Makefile.patch |   20 ++++++++++++++++++++
 community-x86_64/PKGBUILD       |   33 +++++++++++++++++++++++++++++++++
 4 files changed, 106 insertions(+)

Copied: benzene/repos/community-i686/Makefile.patch (from rev 126427, benzene/trunk/Makefile.patch)
===================================================================
--- repos/community-i686/Makefile.patch	                        (rev 0)
+++ repos/community-i686/Makefile.patch	2015-01-22 20:50:27 UTC (rev 126428)
@@ -0,0 +1,20 @@
+--- grinvin-1.2.2/nonjava/Makefile.incl.tmpl.orig	2015-01-22 21:46:11.188829593 +0100
++++ grinvin-1.2.2/nonjava/Makefile.incl.tmpl	2015-01-22 21:46:29.078893693 +0100
+@@ -37,14 +37,14 @@
+ 
+ # Which distributions to build on which OS
+ 
+-#TARGETS=for-linux-on-linux
+-TARGETS=for-linux-on-linux for-win32-on-linux
++TARGETS=for-linux-on-linux
++#TARGETS=for-linux-on-linux for-win32-on-linux
+ #TARGETS=for-osx-on-osx for-linux-on-osx for-win32-on-osx
+ 
+ # Locations of the executables
+ 
+ # typical linux situation:
+-WIN-GCC=/usr/bin/i586-mingw32msvc-gcc
++#WIN-GCC=/usr/bin/i586-mingw32msvc-gcc
+ 
+ # typical osx situation
+ #LIN-GCC=/usr/local/i386-linux-4.1.1/bin/i386-linux-gcc

Copied: benzene/repos/community-i686/PKGBUILD (from rev 126427, benzene/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2015-01-22 20:50:27 UTC (rev 126428)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=benzene
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="A program for the efficient generation of all nonisomorphic fusenes and benzenoids with a given number of faces"
+arch=('i686' 'x86_64')
+url="http://www.grinvin.org/"
+license=('GPL2')
+depends=('glibc')
+source=("http://downloads.grinvin.org/modules/grinvin-dist/grinvin-$pkgver-src.tar.gz" 'Makefile.patch')
+md5sums=('61ccb62cc741068adaa6c2d8cc8fa8ae'
+         '2fecb6542ba4e7fc04a6afa232d6a5e8')
+
+prepare() {
+  patch -p0 -i "$srcdir"/Makefile.patch
+}
+
+build() {
+  cd grinvin-$pkgver/nonjava
+
+  mv Makefile.incl.tmpl Makefile.incl
+  make
+}
+
+package() {
+  cd grinvin-$pkgver/build/linux
+
+  mkdir -p "$pkgdir"/usr/bin
+  cp $pkgname "$pkgdir"/usr/bin/
+}
+

Copied: benzene/repos/community-x86_64/Makefile.patch (from rev 126427, benzene/trunk/Makefile.patch)
===================================================================
--- repos/community-x86_64/Makefile.patch	                        (rev 0)
+++ repos/community-x86_64/Makefile.patch	2015-01-22 20:50:27 UTC (rev 126428)
@@ -0,0 +1,20 @@
+--- grinvin-1.2.2/nonjava/Makefile.incl.tmpl.orig	2015-01-22 21:46:11.188829593 +0100
++++ grinvin-1.2.2/nonjava/Makefile.incl.tmpl	2015-01-22 21:46:29.078893693 +0100
+@@ -37,14 +37,14 @@
+ 
+ # Which distributions to build on which OS
+ 
+-#TARGETS=for-linux-on-linux
+-TARGETS=for-linux-on-linux for-win32-on-linux
++TARGETS=for-linux-on-linux
++#TARGETS=for-linux-on-linux for-win32-on-linux
+ #TARGETS=for-osx-on-osx for-linux-on-osx for-win32-on-osx
+ 
+ # Locations of the executables
+ 
+ # typical linux situation:
+-WIN-GCC=/usr/bin/i586-mingw32msvc-gcc
++#WIN-GCC=/usr/bin/i586-mingw32msvc-gcc
+ 
+ # typical osx situation
+ #LIN-GCC=/usr/local/i386-linux-4.1.1/bin/i386-linux-gcc

Copied: benzene/repos/community-x86_64/PKGBUILD (from rev 126427, benzene/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2015-01-22 20:50:27 UTC (rev 126428)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=benzene
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="A program for the efficient generation of all nonisomorphic fusenes and benzenoids with a given number of faces"
+arch=('i686' 'x86_64')
+url="http://www.grinvin.org/"
+license=('GPL2')
+depends=('glibc')
+source=("http://downloads.grinvin.org/modules/grinvin-dist/grinvin-$pkgver-src.tar.gz" 'Makefile.patch')
+md5sums=('61ccb62cc741068adaa6c2d8cc8fa8ae'
+         '2fecb6542ba4e7fc04a6afa232d6a5e8')
+
+prepare() {
+  patch -p0 -i "$srcdir"/Makefile.patch
+}
+
+build() {
+  cd grinvin-$pkgver/nonjava
+
+  mv Makefile.incl.tmpl Makefile.incl
+  make
+}
+
+package() {
+  cd grinvin-$pkgver/build/linux
+
+  mkdir -p "$pkgdir"/usr/bin
+  cp $pkgname "$pkgdir"/usr/bin/
+}
+



More information about the arch-commits mailing list