[arch-commits] Commit in brial/repos (2 files)

Antonio Rojas arojas at archlinux.org
Thu Jan 16 07:09:36 UTC 2020


    Date: Thursday, January 16, 2020 @ 07:09:35
  Author: arojas
Revision: 552737

archrelease: copy trunk to community-staging-x86_64

Added:
  brial/repos/community-staging-x86_64/
  brial/repos/community-staging-x86_64/PKGBUILD
    (from rev 552736, brial/trunk/PKGBUILD)

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

Copied: brial/repos/community-staging-x86_64/PKGBUILD (from rev 552736, brial/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-01-16 07:09:35 UTC (rev 552737)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=brial
+pkgver=1.2.6
+pkgrel=3
+pkgdesc="Library for polynomials over boolean rings"
+arch=(x86_64)
+url="https://github.com/BRiAl/BRiAl"
+license=(GPL)
+depends=(m4ri)
+makedepends=(boost python)
+optdepends=('python: Python bindings')
+source=("https://github.com/BRiAl/BRiAl/releases/download/$pkgver/brial-$pkgver.tar.bz2")
+sha256sums=('a8185e7b17b90f20d4babdc9c65ae0d543100410ab05f6ba62704f1df4936d18')
+
+build() {
+  cd $pkgname-$pkgver 
+
+  ./configure --prefix=/usr --enable-shared
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  make
+
+  cd sage-brial
+  python setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  cd sage-brial
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list