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

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


    Date: Thursday, December 17, 2020 @ 21:49:53
  Author: felixonmars
Revision: 778152

archrelease: copy trunk to community-x86_64

Added:
  libpoly/repos/community-x86_64/
  libpoly/repos/community-x86_64/PKGBUILD
    (from rev 778151, libpoly/trunk/PKGBUILD)

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

Copied: libpoly/repos/community-x86_64/PKGBUILD (from rev 778151, libpoly/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-12-17 21:49:53 UTC (rev 778152)
@@ -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