[arch-commits] Commit in sympow (5 files)

Antonio Rojas arojas at archlinux.org
Sat Dec 20 23:41:09 UTC 2014


    Date: Sunday, December 21, 2014 @ 00:41:09
  Author: arojas
Revision: 124234

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

Added:
  sympow/repos/
  sympow/repos/community-i686/
  sympow/repos/community-i686/PKGBUILD
    (from rev 124233, sympow/trunk/PKGBUILD)
  sympow/repos/community-x86_64/
  sympow/repos/community-x86_64/PKGBUILD
    (from rev 124233, sympow/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   37 +++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: sympow/repos/community-i686/PKGBUILD (from rev 124233, sympow/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2014-12-20 23:41:09 UTC (rev 124234)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sympow
+pkgver=1.018.1
+pkgrel=1
+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=('glibc')
+makedepends=('pari')
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('b6cbb7488870d70d92d11176049cb91b')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./Configure
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  mkdir -p "$pkgdir"/usr/lib/sympow
+  mv sympow *.gp new_data datafiles "$pkgdir"/usr/lib/sympow
+
+  cd "$pkgdir"/usr/lib/sympow/datafiles
+
+  for file in *.txt; do
+    ../sympow -txt2bin "$(grep -c AT $file)" <$file ${file/txt/bin}
+  done
+
+  mkdir -p "$pkgdir"/usr/bin
+  ln -s /usr/lib/sympow/sympow "$pkgdir"/usr/bin/sympow
+}

Copied: sympow/repos/community-x86_64/PKGBUILD (from rev 124233, sympow/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2014-12-20 23:41:09 UTC (rev 124234)
@@ -0,0 +1,37 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sympow
+pkgver=1.018.1
+pkgrel=1
+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=('glibc')
+makedepends=('pari')
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('b6cbb7488870d70d92d11176049cb91b')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./Configure
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  mkdir -p "$pkgdir"/usr/lib/sympow
+  mv sympow *.gp new_data datafiles "$pkgdir"/usr/lib/sympow
+
+  cd "$pkgdir"/usr/lib/sympow/datafiles
+
+  for file in *.txt; do
+    ../sympow -txt2bin "$(grep -c AT $file)" <$file ${file/txt/bin}
+  done
+
+  mkdir -p "$pkgdir"/usr/bin
+  ln -s /usr/lib/sympow/sympow "$pkgdir"/usr/bin/sympow
+}



More information about the arch-commits mailing list