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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:23:15 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:23:15
  Author: felixonmars
Revision: 658441

archrelease: copy trunk to community-staging-x86_64

Added:
  shared_meataxe/repos/community-staging-x86_64/
  shared_meataxe/repos/community-staging-x86_64/PKGBUILD
    (from rev 658440, shared_meataxe/trunk/PKGBUILD)

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

Copied: shared_meataxe/repos/community-staging-x86_64/PKGBUILD (from rev 658440, shared_meataxe/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:23:15 UTC (rev 658441)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=shared_meataxe
+pkgver=1.0
+pkgrel=4
+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/"
+license=(GPL)
+depends=(glibc)
+conflicts=(meataxe)
+replaces=('meataxe<=2.4.24-6')
+source=(http://users.minet.uni-jena.de/~king/SharedMeatAxe/$pkgname-$pkgver.tar.gz)
+sha256sums=('e45b0dc325f841d5c160c1eb03daa6587506220ad6ee5823397b4bf2fbd8fdb9')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+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