[arch-commits] Commit in brial/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Thu Jun 8 21:35:23 UTC 2017
Date: Thursday, June 8, 2017 @ 21:35:22
Author: arojas
Revision: 235480
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 235479, brial/trunk/PKGBUILD)
brial/repos/community-staging-x86_64/
brial/repos/community-staging-x86_64/PKGBUILD
(from rev 235479, brial/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
Copied: brial/repos/community-staging-i686/PKGBUILD (from rev 235479, brial/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-08 21:35:22 UTC (rev 235480)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=brial
+pkgver=1.0.1
+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=("$pkgname-$pkgver.tar.gz::https://github.com/BRiAl/BRiAl/archive/$pkgver.tar.gz")
+sha256sums=('1ed86e761c850d8febf41ee3f77412be091d48d528d5541dcb9fc412ae5d6220')
+
+build() {
+ cd BRiAl-$pkgver
+
+ export PYTHON=python2
+ export CXXFLAGS="$CXXFLAGS -std=c++98"
+ autoreconf -vi
+ ./configure --prefix=/usr --enable-shared
+ make
+
+ cd sage-brial
+ python2 setup.py build
+}
+
+package() {
+ cd BRiAl-$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 235479, brial/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-06-08 21:35:22 UTC (rev 235480)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=brial
+pkgver=1.0.1
+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=("$pkgname-$pkgver.tar.gz::https://github.com/BRiAl/BRiAl/archive/$pkgver.tar.gz")
+sha256sums=('1ed86e761c850d8febf41ee3f77412be091d48d528d5541dcb9fc412ae5d6220')
+
+build() {
+ cd BRiAl-$pkgver
+
+ export PYTHON=python2
+ export CXXFLAGS="$CXXFLAGS -std=c++98"
+ autoreconf -vi
+ ./configure --prefix=/usr --enable-shared
+ make
+
+ cd sage-brial
+ python2 setup.py build
+}
+
+package() {
+ cd BRiAl-$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