[arch-commits] Commit in (libpoly libpoly/repos libpoly/trunk libpoly/trunk/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Dec 17 21:49:42 UTC 2020


    Date: Thursday, December 17, 2020 @ 21:49:42
  Author: felixonmars
Revision: 778150

addpkg: libpoly 0.1.8-1

Added:
  libpoly/
  libpoly/repos/
  libpoly/trunk/
  libpoly/trunk/PKGBUILD

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

Added: libpoly/trunk/PKGBUILD
===================================================================
--- libpoly/trunk/PKGBUILD	                        (rev 0)
+++ libpoly/trunk/PKGBUILD	2020-12-17 21:49:42 UTC (rev 778150)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libpoly
+pkgver=0.1.8
+pkgrel=1
+pkgdesc='C library for manipulating polynomials'
+arch=('x86_64')
+url="https://github.com/SRI-CSL/libpoly"
+license=('LGPL')
+depends=('gmp')
+makedepends=('cmake' 'ninja' 'python')
+source=("https://github.com/SRI-CSL/libpoly/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('25d125d19e67fe20933a29e691258abca15373d7c54533abb688f8296f77207f6dff355d3a7d4d6724571253de804de2374a3bd939871904baa4a1aae110ede8')
+
+build() {
+  cd libpoly-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+  ninja
+}
+
+package() {
+  cd libpoly-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list