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

Antonio Rojas arojas at archlinux.org
Sat Oct 22 09:00:44 UTC 2016


    Date: Saturday, October 22, 2016 @ 09:00:43
  Author: arojas
Revision: 192958

Move files to the new expected location

Modified:
  sage-data-polytopes_db/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-22 08:59:19 UTC (rev 192957)
+++ PKGBUILD	2016-10-22 09:00:43 UTC (rev 192958)
@@ -4,11 +4,11 @@
 _dbname=polytopes_db
 pkgname=sage-data-$_dbname
 pkgver=20120220
-pkgrel=2
+pkgrel=3
 pkgdesc="Reflexive polytopes database"
-arch=('any')
+arch=(any)
 url="http://www.sagemath.org"
-license=('GPL')
+license=(GPL)
 depends=()
 makedepends=()
 source=("http://mirrors.mit.edu/sage/spkg/upstream/polytopes_db/$_dbname-$pkgver.tar.bz2")
@@ -16,6 +16,6 @@
 
 package() {
   cd $_dbname-$pkgver
-  mkdir -p "$pkgdir"/usr/share/sage/reflexive_polytopes
-  mv * "$pkgdir"/usr/share/sage/reflexive_polytopes
+  mkdir -p "$pkgdir"/usr/share/reflexive_polytopes
+  cp -r * "$pkgdir"/usr/share/reflexive_polytopes
 }



More information about the arch-commits mailing list