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

Antonio Rojas arojas at archlinux.org
Tue Feb 16 18:12:42 UTC 2021


    Date: Tuesday, February 16, 2021 @ 18:12:42
  Author: arojas
Revision: 862317

archrelease: copy trunk to community-x86_64

Added:
  igraph/repos/community-x86_64/PKGBUILD
    (from rev 862316, igraph/trunk/PKGBUILD)
Deleted:
  igraph/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 31 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-16 18:12:32 UTC (rev 862316)
+++ PKGBUILD	2021-02-16 18:12:42 UTC (rev 862317)
@@ -1,36 +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.8.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)
-source=("https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('2e5da63a2b8e9bb497893a17cf77c691df1739c298664f8adb1310a01218f95b')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure \
-   --prefix=/usr \
-   --with-external-blas \
-   --with-external-lapack \
-   --with-external-arpack \
-   --with-external-glpk
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: igraph/repos/community-x86_64/PKGBUILD (from rev 862316, igraph/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-16 18:12:42 UTC (rev 862317)
@@ -0,0 +1,31 @@
+# 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.0
+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=('012e5d5a50420420588c33ec114c6b3000ccde544db3f25c282c1931c462ad7a')
+
+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
+}



More information about the arch-commits mailing list