[arch-commits] Commit in planarity/trunk (PKGBUILD no-nauty.patch)
Antonio Rojas
arojas at archlinux.org
Sat Jan 28 20:34:52 UTC 2017
Date: Saturday, January 28, 2017 @ 20:34:51
Author: arojas
Revision: 209315
Update to 3.0.0.5
Modified:
planarity/trunk/PKGBUILD
Deleted:
planarity/trunk/no-nauty.patch
----------------+
PKGBUILD | 23 ++++++++---------------
no-nauty.patch | 27 ---------------------------
2 files changed, 8 insertions(+), 42 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-28 20:14:37 UTC (rev 209314)
+++ PKGBUILD 2017-01-28 20:34:51 UTC (rev 209315)
@@ -2,34 +2,27 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=planarity
-pkgver=2.2.0
+pkgver=3.0.0.5
pkgrel=1
pkgdesc="A library for implementing graph algorithms"
arch=(i686 x86_64)
-url="https://code.google.com/p/planarity/"
+url="https://github.com/graph-algorithms/edge-addition-planarity-suite"
license=(BSD)
depends=(glibc)
makedepends=()
-source=("http://mirrors.mit.edu/sage/spkg/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'no-nauty.patch')
-md5sums=('3e05f05ad8bf777e6a7ad48958a18c06'
- 'fd0368575784dafb0e97d229494cdfc2')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/graph-algorithms/edge-addition-planarity-suite/archive/Version_$pkgver.tar.gz")
+md5sums=('2fd16fb8bc5d8343b61fd94005475ed1')
-prepare() {
- cd $pkgname-$pkgver
-
-# build without nauty
- patch -p1 -i "$srcdir"/no-nauty.patch
-}
-
build() {
- cd $pkgname-$pkgver
+ cd edge-addition-planarity-suite-Version_$pkgver
+ ./autogen.sh
./configure --prefix=/usr
make
}
package() {
- cd $pkgname-$pkgver
+ cd edge-addition-planarity-suite-Version_$pkgver
make install DESTDIR="$pkgdir"
- install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+ install -Dm644 LICENSE.TXT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
Deleted: no-nauty.patch
===================================================================
--- no-nauty.patch 2017-01-28 20:14:37 UTC (rev 209314)
+++ no-nauty.patch 2017-01-28 20:34:51 UTC (rev 209315)
@@ -1,27 +0,0 @@
-Minimal patch to compile planarity without Nauty
-
---- a/c/planarityCommandLine.c 2015-05-05 14:20:57.000000000 +0200
-+++ b/c/planarityCommandLine.c 2015-05-07 11:05:24.053668256 +0200
-@@ -157,6 +157,7 @@
- extern unsigned long numErrors;
- extern unsigned long numOKs;
-
-+#ifdef HAVE_NAUTY
- int callNauty(int argc, char *argv[])
- {
- char command;
-@@ -294,6 +295,14 @@
- return 0;
- }
- }
-+#else
-+unsigned long numGraphs, numErrors, numOKs;
-+int callNauty(int argc, char *argv[])
-+{
-+ fprintf(stderr, "Nauty is not installed, aborting\n");
-+ exit(1);
-+}
-+#endif
-
- /****************************************************************************
- Quick regression test
More information about the arch-commits
mailing list