upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / libpoly / trunk / PKGBUILD
blobbb73db3a9524643efd27c65ebf4c77c5049b74d1
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=libpoly
4 pkgver=0.1.11
5 pkgrel=1
6 pkgdesc='C library for manipulating polynomials'
7 arch=('x86_64')
8 url="https://github.com/SRI-CSL/libpoly"
9 license=('LGPL')
10 depends=('gmp')
11 makedepends=('cmake' 'ninja' 'python')
12 source=("https://github.com/SRI-CSL/libpoly/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
13 sha512sums=('df08a6bab33e27023316972e2496801cea4959faf403b5df8314fa45b4541cd1352583a44084bea130c1e3ca4ed86de032f7f96eeb915599f178e80976a68f7a')
15 build() {
16   cd libpoly-$pkgver
17   cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
18   ninja
21 package() {
22   cd libpoly-$pkgver
23   DESTDIR="$pkgdir" ninja install