Date: Wednesday, January 5, 2022 @ 18:38:13 Author: arojas Revision: 1093369
New igraph dependency Added: plfit/ plfit/trunk/ plfit/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Added: plfit/trunk/PKGBUILD =================================================================== --- plfit/trunk/PKGBUILD (rev 0) +++ plfit/trunk/PKGBUILD 2022-01-05 18:38:13 UTC (rev 1093369) @@ -0,0 +1,24 @@ +# Maintainer: Antonio Rojas <[email protected]> + +pkgname=plfit +pkgver=0.9.3 +pkgrel=1 +pkgdesc='Fitting power-law distributions to empirical data' +arch=(x86_64) +url='https://github.com/ntamas/plfit' +license=(GPL2) +depends=(glibc) +makedepends=(cmake) +source=(https://github.com/ntamas/plfit/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha256sums=('1c5c064ab9d08b5ae9ed82e4a036e3d63bf5838a634356212c9fb172f994f2f9') + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_SHARED_LIBS=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}
