[arch-commits] Commit in shared_meataxe/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Jul 29 18:08:08 UTC 2019
Date: Monday, July 29, 2019 @ 18:08:07
Author: arojas
Revision: 494670
Ship multiplication tables for Sagemath
Modified:
shared_meataxe/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-29 16:19:34 UTC (rev 494669)
+++ PKGBUILD 2019-07-29 18:08:07 UTC (rev 494670)
@@ -2,7 +2,7 @@
pkgname=shared_meataxe
pkgver=1.0
-pkgrel=2
+pkgrel=3
pkgdesc="A set of programs for working with matrix representations over finite fields"
arch=(x86_64)
url="http://users.minet.uni-jena.de/~king/SharedMeatAxe/"
@@ -22,4 +22,13 @@
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
+
+ mkdir -p "$pkgdir"/usr/share/meataxe
+# Build multiplication tables
+ cd "$pkgdir"/usr/share/meataxe
+ for i in 2 3 4 5 7 8 9 11 13 16 17 19 23 25 27 29 31 32 37 41 43 47 49 53 59 61 64 67 71 73 79 81 83 89 97 101 103 107 109 113 121 125 \
+ 127 128 131 137 139 149 151 157 163 167 169 173 179 181 191 193 197 199 211 223 227 229 233 239 241 243 251
+ do
+ LD_PRELOAD=../../lib/libmtx.so ../../bin/zcv <(echo "matrix field=$i rows=0 cols=0") /dev/null
+ done
}
More information about the arch-commits
mailing list