[arch-commits] Commit in sympow/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sat Jan 3 22:16:59 UTC 2015
Date: Saturday, January 3, 2015 @ 23:16:58
Author: arojas
Revision: 125253
archrelease: copy trunk to community-i686, community-x86_64
Added:
sympow/repos/community-i686/PKGBUILD
(from rev 125252, sympow/trunk/PKGBUILD)
sympow/repos/community-x86_64/PKGBUILD
(from rev 125252, sympow/trunk/PKGBUILD)
Deleted:
sympow/repos/community-i686/PKGBUILD
sympow/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 92 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 37 -----------------
community-x86_64/PKGBUILD | 37 -----------------
3 files changed, 92 insertions(+), 74 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-01-03 22:16:08 UTC (rev 125252)
+++ community-i686/PKGBUILD 2015-01-03 22:16:58 UTC (rev 125253)
@@ -1,37 +0,0 @@
-# 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-i686/PKGBUILD (from rev 125252, sympow/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-01-03 22:16:58 UTC (rev 125253)
@@ -0,0 +1,46 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sympow
+pkgver=1.018.1
+pkgrel=2
+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')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+# fix segfault
+ sed -e 's|"datafiles/param_data"|"/usr/lib/sympow/datafiles/param_data"|' -i disk.c -i generate.c
+ sed -e 's|"datafiles/P"; int dl=9;|"/usr/lib/sympow/datafiles/P"; int dl=25;|' \
+ -e 's|"datafiles/H"; int dl=9;|"/usr/lib/sympow/datafiles/H"; int dl=25;|' -i disk.c
+}
+
+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
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-01-03 22:16:08 UTC (rev 125252)
+++ community-x86_64/PKGBUILD 2015-01-03 22:16:58 UTC (rev 125253)
@@ -1,37 +0,0 @@
-# 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 125252, sympow/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-01-03 22:16:58 UTC (rev 125253)
@@ -0,0 +1,46 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sympow
+pkgver=1.018.1
+pkgrel=2
+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')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+# fix segfault
+ sed -e 's|"datafiles/param_data"|"/usr/lib/sympow/datafiles/param_data"|' -i disk.c -i generate.c
+ sed -e 's|"datafiles/P"; int dl=9;|"/usr/lib/sympow/datafiles/P"; int dl=25;|' \
+ -e 's|"datafiles/H"; int dl=9;|"/usr/lib/sympow/datafiles/H"; int dl=25;|' -i disk.c
+}
+
+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