[arch-commits] Commit in igraph/repos/community-x86_64 (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Wed Jan 5 19:05:29 UTC 2022


    Date: Wednesday, January 5, 2022 @ 19:05:29
  Author: arojas
Revision: 1093374

archrelease: copy trunk to community-x86_64

Added:
  igraph/repos/community-x86_64/PKGBUILD
    (from rev 1093373, igraph/trunk/PKGBUILD)
  igraph/repos/community-x86_64/igraph-pflit.patch
    (from rev 1093373, igraph/trunk/igraph-pflit.patch)
Deleted:
  igraph/repos/community-x86_64/PKGBUILD

--------------------+
 PKGBUILD           |   68 +++++++++++++++++++++++++++------------------------
 igraph-pflit.patch |   12 +++++++++
 2 files changed, 49 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-05 19:05:16 UTC (rev 1093373)
+++ PKGBUILD	2022-01-05 19:05:29 UTC (rev 1093374)
@@ -1,31 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Fazlul Shahriar <fshahriar at gmail.com>
-# Contributor: Denis Zawada <deno at bajtogrod.pl>
-
-pkgname=igraph
-pkgver=0.9.5
-pkgrel=1
-pkgdesc='A library for creating and manipulating (un)directed graphs'
-arch=(x86_64)
-url='https://igraph.org/c/'
-license=(GPL2)
-depends=(glpk arpack libxml2 suitesparse)
-makedepends=(cmake)
-source=(https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('c4e3f67892e1e287865d799162406b3f94916ad6f2cc069a9239e36ca495a17a')
-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=None \
-    -DBUILD_SHARED_LIBS=ON
-  cmake --build build
-}
-
-check() {
-  cmake --build build --target check
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: igraph/repos/community-x86_64/PKGBUILD (from rev 1093373, igraph/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-05 19:05:29 UTC (rev 1093374)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Fazlul Shahriar <fshahriar at gmail.com>
+# Contributor: Denis Zawada <deno at bajtogrod.pl>
+
+pkgname=igraph
+pkgver=0.9.6
+pkgrel=1
+pkgdesc='A library for creating and manipulating (un)directed graphs'
+arch=(x86_64)
+url='https://igraph.org/c/'
+license=(GPL2)
+depends=(glpk arpack libxml2 suitesparse plfit)
+makedepends=(cmake)
+source=(https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
+        igraph-pflit.patch)
+sha256sums=('7c299ec54eecfe413758c332a42c4cb71d02d2951b2ac232584d317c5792f387'
+            '21687f028108cd9ce02a614dd399563b3b8cb1dcb059ed6bd3d05aa5f94b8f79')
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < igraph-pflit.patch # Make cmake find pflit
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DBUILD_SHARED_LIBS=ON
+  cmake --build build
+}
+
+check() {
+  cmake --build build --target check
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Copied: igraph/repos/community-x86_64/igraph-pflit.patch (from rev 1093373, igraph/trunk/igraph-pflit.patch)
===================================================================
--- igraph-pflit.patch	                        (rev 0)
+++ igraph-pflit.patch	2022-01-05 19:05:29 UTC (rev 1093374)
@@ -0,0 +1,12 @@
+diff --git a/etc/cmake/FindPLFIT.cmake b/etc/cmake/FindPLFIT.cmake
+index 666464b4c..01369377f 100644
+--- a/etc/cmake/FindPLFIT.cmake
++++ b/etc/cmake/FindPLFIT.cmake
+@@ -10,6 +10,7 @@
+ 
+ find_path(PLFIT_INCLUDE_DIR
+   NAMES plfit.h
++  PATH_SUFFIXES plfit
+ )
+ 
+ find_library(PLFIT_LIBRARY



More information about the arch-commits mailing list