[arch-commits] Commit in igraph/trunk (PKGBUILD igraph-pflit.patch)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Jan 5 19:05:17 UTC 2022
Date: Wednesday, January 5, 2022 @ 19:05:16
Author: arojas
Revision: 1093373
Update to 0.9.6, unbundle plfit
Added:
igraph/trunk/igraph-pflit.patch
Modified:
igraph/trunk/PKGBUILD
--------------------+
PKGBUILD | 14 ++++++++++----
igraph-pflit.patch | 12 ++++++++++++
2 files changed, 22 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-05 18:46:53 UTC (rev 1093372)
+++ PKGBUILD 2022-01-05 19:05:16 UTC (rev 1093373)
@@ -3,17 +3,23 @@
# Contributor: Denis Zawada <deno at bajtogrod.pl>
pkgname=igraph
-pkgver=0.9.5
+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)
+depends=(glpk arpack libxml2 suitesparse plfit)
makedepends=(cmake)
-source=(https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('c4e3f67892e1e287865d799162406b3f94916ad6f2cc069a9239e36ca495a17a')
+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 \
Added: igraph-pflit.patch
===================================================================
--- igraph-pflit.patch (rev 0)
+++ igraph-pflit.patch 2022-01-05 19:05:16 UTC (rev 1093373)
@@ -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