[arch-commits] Commit in sage-data-elliptic_curves/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Oct 22 09:13:26 UTC 2016


    Date: Saturday, October 22, 2016 @ 09:13:25
  Author: arojas
Revision: 192962

Move files to the new expected location

Modified:
  sage-data-elliptic_curves/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-22 09:08:35 UTC (rev 192961)
+++ PKGBUILD	2016-10-22 09:13:25 UTC (rev 192962)
@@ -4,13 +4,13 @@
 _dbname=elliptic_curves
 pkgname=sage-data-$_dbname
 pkgver=0.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Database of elliptic curves for SageMath"
-arch=('any')
+arch=(any)
 url="http://www.sagemath.org"
-license=('GPL')
+license=(GPL)
 depends=()
-makedepends=('python' 'sqlite')
+makedepends=(python sqlite)
 source=("http://mirrors.mit.edu/sage/spkg/upstream/elliptic_curves/$_dbname-$pkgver.tar.bz2"
         "https://raw.githubusercontent.com/sagemath/sage/6ae960b3db36b628546c0fd3ea0f7f75154edb22/build/pkgs/elliptic_curves/spkg-install")
 md5sums=('fd9beee5a0e4a5ae330ffd6f1ab12112'
@@ -17,15 +17,15 @@
          'b74eff87bdc6e9df132bc50a7e3513c6')
 
 package() {
-  export SAGE_SHARE="$pkgdir"/usr/share/sage
+  export SAGE_SHARE="$pkgdir"/usr/share
   cd $_dbname-$pkgver
   mkdir src
-  mv common ellcurves src
+  cp -r common ellcurves src
   python ../spkg-install
 
 # fix permissions
-  chmod 755 "$pkgdir"/usr/share/sage/ellcurves
-  chmod 644 "$pkgdir"/usr/share/sage/ellcurves/*
+  chmod 755 "$pkgdir"/usr/share/ellcurves
+  chmod 644 "$pkgdir"/usr/share/ellcurves/*
 
-  rm -r "$pkgdir"/usr/share/sage/ellcurves/{.r*,..r*}
+  rm -r "$pkgdir"/usr/share/ellcurves/._*
 }



More information about the arch-commits mailing list