[arch-commits] Commit in igraph/repos (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Tue Sep 6 06:54:06 UTC 2022


    Date: Tuesday, September 6, 2022 @ 06:54:06
  Author: arojas
Revision: 1294221

archrelease: copy trunk to community-staging-x86_64

Added:
  igraph/repos/community-staging-x86_64/
  igraph/repos/community-staging-x86_64/PKGBUILD
    (from rev 1294220, igraph/trunk/PKGBUILD)

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

Copied: igraph/repos/community-staging-x86_64/PKGBUILD (from rev 1294220, igraph/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-09-06 06:54:06 UTC (rev 1294221)
@@ -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.10.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 plfit)
+makedepends=(cmake)
+source=(https://github.com/igraph/igraph/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('62e3c9e51ac5b0f1871142aac23956f3a6a337fee980bf5474bd4ac3d76e1a68')
+
+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