[arch-commits] Commit in brial/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Jan 1 23:32:28 UTC 2020
Date: Wednesday, January 1, 2020 @ 23:32:27
Author: arojas
Revision: 545990
archrelease: copy trunk to community-x86_64
Added:
brial/repos/community-x86_64/PKGBUILD
(from rev 545989, brial/trunk/PKGBUILD)
Deleted:
brial/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 34 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-01 23:32:09 UTC (rev 545989)
+++ PKGBUILD 2020-01-01 23:32:27 UTC (rev 545990)
@@ -1,44 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=brial
-pkgver=1.2.6
-pkgrel=1
-pkgdesc="Library for polynomials over boolean rings"
-arch=(x86_64)
-url="https://github.com/BRiAl/BRiAl"
-license=(GPL)
-depends=(m4ri)
-makedepends=(boost python python2)
-optdepends=('python: Python 3 bindings' 'python2: Python 2 bindings')
-source=("https://github.com/BRiAl/BRiAl/releases/download/$pkgver/brial-$pkgver.tar.bz2")
-sha256sums=('a8185e7b17b90f20d4babdc9c65ae0d543100410ab05f6ba62704f1df4936d18')
-
-prepare() {
- cp -r $pkgname-$pkgver/sage-brial{,-py2}
-}
-
-build() {
- cd $pkgname-$pkgver
-
- export PYTHON=python2
- ./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
- cd ../sage-brial-py2
- python2 setup.py build
-}
-
-package() {
- cd $pkgname-$pkgver
-
- make DESTDIR="$pkgdir" install
-
- cd sage-brial
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
- cd ../sage-brial-py2
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-}
Copied: brial/repos/community-x86_64/PKGBUILD (from rev 545989, brial/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-01 23:32:27 UTC (rev 545990)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=brial
+pkgver=1.2.6
+pkgrel=2
+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