[arch-commits] Commit in plfit (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Wed Jan 5 18:38:26 UTC 2022


    Date: Wednesday, January 5, 2022 @ 18:38:26
  Author: arojas
Revision: 1093370

archrelease: copy trunk to community-x86_64

Added:
  plfit/repos/
  plfit/repos/community-x86_64/
  plfit/repos/community-x86_64/PKGBUILD
    (from rev 1093369, plfit/trunk/PKGBUILD)

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

Copied: plfit/repos/community-x86_64/PKGBUILD (from rev 1093369, plfit/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2022-01-05 18:38:26 UTC (rev 1093370)
@@ -0,0 +1,24 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+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
+}



More information about the arch-commits mailing list