[arch-commits] Commit in sympow/repos (6 files)

Antonio Rojas arojas at archlinux.org
Sat Apr 25 22:06:38 UTC 2015


    Date: Sunday, April 26, 2015 @ 00:06:38
  Author: arojas
Revision: 132253

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

Added:
  sympow/repos/community-i686/PKGBUILD
    (from rev 132252, sympow/trunk/PKGBUILD)
  sympow/repos/community-i686/sympow.sh
    (from rev 132252, sympow/trunk/sympow.sh)
  sympow/repos/community-x86_64/PKGBUILD
    (from rev 132252, sympow/trunk/PKGBUILD)
  sympow/repos/community-x86_64/sympow.sh
    (from rev 132252, sympow/trunk/sympow.sh)
Deleted:
  sympow/repos/community-i686/sympow.sh
  sympow/repos/community-x86_64/sympow.sh

----------------------------+
 /sympow.sh                 |   20 ++++++++++++++++++
 community-i686/PKGBUILD    |   46 +++++++++++++++++++++++++++++++++++++++++++
 community-i686/sympow.sh   |   10 ---------
 community-x86_64/PKGBUILD  |   46 +++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/sympow.sh |   10 ---------
 5 files changed, 112 insertions(+), 20 deletions(-)

Copied: sympow/repos/community-i686/PKGBUILD (from rev 132252, sympow/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-04-25 22:06:38 UTC (rev 132253)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sympow
+pkgver=1.018.1
+pkgrel=4
+pkgdesc="A a package to compute special values of symmetric power elliptic
+curve L-functions"
+arch=(i686 x86_64)
+url="http://www.sagemath.org"
+license=(GPL)
+depends=(pari)
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'sympow.sh')
+md5sums=('b6cbb7488870d70d92d11176049cb91b'
+         '93f214e7f22df8ae525d9fbfbf82eeb1')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  sed -e "s|../sympow|sympow_bin|g" -i generate.c
+  sed -e "s|./sympow|sympow_bin|g" -i disk.c new_data
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./Configure
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  mkdir -p "$pkgdir"/usr/{bin,share/sympow}
+  cp -r *.gp datafiles "$pkgdir"/usr/share/sympow
+  cp sympow "$pkgdir"/usr/bin/sympow_bin
+  cp new_data "$pkgdir"/usr/bin/new_data
+
+  cd "$pkgdir"/usr/share/sympow/datafiles
+
+  for file in *.txt; do
+    "$srcdir"/$pkgname-$pkgver/sympow -txt2bin "$(grep -c AT $file)" <$file ${file/txt/bin}
+  done
+
+  install -Dm755 "$srcdir"/sympow.sh "$pkgdir"/usr/bin/sympow
+}

Deleted: community-i686/sympow.sh
===================================================================
--- community-i686/sympow.sh	2015-04-25 22:05:33 UTC (rev 132252)
+++ community-i686/sympow.sh	2015-04-25 22:06:38 UTC (rev 132253)
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-SYMPOW_LOCAL="$HOME"/.local/share/sympow
-
-if [ ! -d "${SYMPOW_LOCAL}" ]; then
-    mkdir -p "${SYMPOW_LOCAL}"
-    cp -r /usr/share/sympow/* "${SYMPOW_LOCAL}"
-fi
-cd "$SYMPOW_LOCAL"
-exec sympow_bin "$@"

Copied: sympow/repos/community-i686/sympow.sh (from rev 132252, sympow/trunk/sympow.sh)
===================================================================
--- community-i686/sympow.sh	                        (rev 0)
+++ community-i686/sympow.sh	2015-04-25 22:06:38 UTC (rev 132253)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+SYMPOW_LOCAL="$HOME"/.local/share/sympow
+
+if [ ! -d "${SYMPOW_LOCAL}" ]; then
+    mkdir -p "${SYMPOW_LOCAL}"
+    cp -r /usr/share/sympow/* "${SYMPOW_LOCAL}"
+fi
+cd "$SYMPOW_LOCAL"
+exec sympow_bin "$@"

Copied: sympow/repos/community-x86_64/PKGBUILD (from rev 132252, sympow/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-04-25 22:06:38 UTC (rev 132253)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sympow
+pkgver=1.018.1
+pkgrel=4
+pkgdesc="A a package to compute special values of symmetric power elliptic
+curve L-functions"
+arch=(i686 x86_64)
+url="http://www.sagemath.org"
+license=(GPL)
+depends=(pari)
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2" 'sympow.sh')
+md5sums=('b6cbb7488870d70d92d11176049cb91b'
+         '93f214e7f22df8ae525d9fbfbf82eeb1')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  sed -e "s|../sympow|sympow_bin|g" -i generate.c
+  sed -e "s|./sympow|sympow_bin|g" -i disk.c new_data
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./Configure
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  mkdir -p "$pkgdir"/usr/{bin,share/sympow}
+  cp -r *.gp datafiles "$pkgdir"/usr/share/sympow
+  cp sympow "$pkgdir"/usr/bin/sympow_bin
+  cp new_data "$pkgdir"/usr/bin/new_data
+
+  cd "$pkgdir"/usr/share/sympow/datafiles
+
+  for file in *.txt; do
+    "$srcdir"/$pkgname-$pkgver/sympow -txt2bin "$(grep -c AT $file)" <$file ${file/txt/bin}
+  done
+
+  install -Dm755 "$srcdir"/sympow.sh "$pkgdir"/usr/bin/sympow
+}

Deleted: community-x86_64/sympow.sh
===================================================================
--- community-x86_64/sympow.sh	2015-04-25 22:05:33 UTC (rev 132252)
+++ community-x86_64/sympow.sh	2015-04-25 22:06:38 UTC (rev 132253)
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-SYMPOW_LOCAL="$HOME"/.local/share/sympow
-
-if [ ! -d "${SYMPOW_LOCAL}" ]; then
-    mkdir -p "${SYMPOW_LOCAL}"
-    cp -r /usr/share/sympow/* "${SYMPOW_LOCAL}"
-fi
-cd "$SYMPOW_LOCAL"
-exec sympow_bin "$@"

Copied: sympow/repos/community-x86_64/sympow.sh (from rev 132252, sympow/trunk/sympow.sh)
===================================================================
--- community-x86_64/sympow.sh	                        (rev 0)
+++ community-x86_64/sympow.sh	2015-04-25 22:06:38 UTC (rev 132253)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+SYMPOW_LOCAL="$HOME"/.local/share/sympow
+
+if [ ! -d "${SYMPOW_LOCAL}" ]; then
+    mkdir -p "${SYMPOW_LOCAL}"
+    cp -r /usr/share/sympow/* "${SYMPOW_LOCAL}"
+fi
+cd "$SYMPOW_LOCAL"
+exec sympow_bin "$@"



More information about the arch-commits mailing list