[arch-commits] Commit in benzene/trunk (Makefile.patch PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Dec 20 20:40:18 UTC 2017


    Date: Wednesday, December 20, 2017 @ 20:40:15
  Author: arojas
Revision: 275075

Use sagemath sources

Modified:
  benzene/trunk/PKGBUILD
Deleted:
  benzene/trunk/Makefile.patch

----------------+
 Makefile.patch |   20 --------------------
 PKGBUILD       |   25 ++++++++-----------------
 2 files changed, 8 insertions(+), 37 deletions(-)

Deleted: Makefile.patch
===================================================================
--- Makefile.patch	2017-12-20 20:29:45 UTC (rev 275074)
+++ Makefile.patch	2017-12-20 20:40:15 UTC (rev 275075)
@@ -1,20 +0,0 @@
---- 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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-20 20:29:45 UTC (rev 275074)
+++ PKGBUILD	2017-12-20 20:40:15 UTC (rev 275075)
@@ -2,32 +2,23 @@
 # Maintainer: Antonio Rojas <arojas at archlinux.org>
 
 pkgname=benzene
-pkgver=1.2.2
+pkgver=20130630
 pkgrel=1
 pkgdesc="A program for the efficient generation of all nonisomorphic fusenes and benzenoids with a given number of faces"
-arch=('x86_64')
+arch=(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')
+license=(GPL2)
+depends=(glibc)
+source=("http://mirrors.mit.edu/sage/spkg/upstream/benzene/$pkgname-$pkgver.tar.bz2")
+sha256sums=('63e8662672a007f5b2a727df0ab0e38825c65229fd1060fbf5b5d87b3301e9c6')
 
-prepare() {
-  patch -p0 -i "$srcdir"/Makefile.patch
-}
-
 build() {
-  cd grinvin-$pkgver/nonjava
-
-  mv Makefile.incl.tmpl Makefile.incl
+  cd src
   make
 }
 
 package() {
-  cd grinvin-$pkgver/build/linux
-
   mkdir -p "$pkgdir"/usr/bin
-  cp $pkgname "$pkgdir"/usr/bin/
+  cp src/$pkgname "$pkgdir"/usr/bin/
 }
 



More information about the arch-commits mailing list