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

Antonio Rojas arojas at archlinux.org
Tue Oct 24 06:40:58 UTC 2017


    Date: Tuesday, October 24, 2017 @ 06:40:57
  Author: arojas
Revision: 264087

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

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

-----------------------------------+
 community-staging-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: brial/repos/community-staging-i686/PKGBUILD (from rev 264086, brial/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-10-24 06:40:57 UTC (rev 264087)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=brial
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Library for polynomials over boolean rings"
+arch=(i686 x86_64)
+url="https://github.com/BRiAl/BRiAl"
+license=(GPL)
+depends=(python2 m4ri)
+makedepends=(boost)
+source=("https://github.com/BRiAl/BRiAl/releases/download/$pkgver/brial-$pkgver.tar.bz2")
+sha256sums=('02fee7495bf096391c0c73a20dccaae56b4939502317802eaf9006a7e652da50')
+
+build() {
+  cd $pkgname-$pkgver 
+
+  export PYTHON=python2
+  ./configure --prefix=/usr --enable-shared
+  make
+
+  cd sage-brial
+  python2 setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  cd sage-brial
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+}

Copied: brial/repos/community-staging-x86_64/PKGBUILD (from rev 264086, brial/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-10-24 06:40:57 UTC (rev 264087)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=brial
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Library for polynomials over boolean rings"
+arch=(i686 x86_64)
+url="https://github.com/BRiAl/BRiAl"
+license=(GPL)
+depends=(python2 m4ri)
+makedepends=(boost)
+source=("https://github.com/BRiAl/BRiAl/releases/download/$pkgver/brial-$pkgver.tar.bz2")
+sha256sums=('02fee7495bf096391c0c73a20dccaae56b4939502317802eaf9006a7e652da50')
+
+build() {
+  cd $pkgname-$pkgver 
+
+  export PYTHON=python2
+  ./configure --prefix=/usr --enable-shared
+  make
+
+  cd sage-brial
+  python2 setup.py build
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  cd sage-brial
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list