[arch-commits] Commit in sage-mathematics-doc (3 files)

Antonio Rojas arojas at archlinux.org
Tue Dec 23 23:36:48 UTC 2014


    Date: Wednesday, December 24, 2014 @ 00:36:47
  Author: arojas
Revision: 124494

archrelease: copy trunk to community-testing-any

Added:
  sage-mathematics-doc/repos/
  sage-mathematics-doc/repos/community-testing-any/
  sage-mathematics-doc/repos/community-testing-any/PKGBUILD
    (from rev 124493, sage-mathematics-doc/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: sage-mathematics-doc/repos/community-testing-any/PKGBUILD (from rev 124493, sage-mathematics-doc/trunk/PKGBUILD)
===================================================================
--- repos/community-testing-any/PKGBUILD	                        (rev 0)
+++ repos/community-testing-any/PKGBUILD	2014-12-23 23:36:47 UTC (rev 124494)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sage-mathematics-doc
+pkgver=6.4.1
+pkgrel=1
+pkgdesc="Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab"
+arch=('any')
+url="http://www.sagemath.org"
+license=('GPL')
+depends=('sage-notebook' 'python2-sphinx')
+source=("https://github.com/sagemath/sage/archive/$pkgver.tar.gz")
+md5sums=('e40736461992e62af3a84cf9a212c9d1')
+
+build() {
+  cd sage-$pkgver/src
+
+  export SAGE_LOCAL="/usr"
+  export SAGE_SRC="$PWD"
+  export SAGE_DOC="$SAGE_SRC"/doc
+  export SAGE_DOC_MATHJAX=yes
+  export PYTHONPATH="/usr/lib/sage/site-packages"
+  python2 doc/common/builder.py -k all html
+}
+
+package() {
+  cd sage-$pkgver/src/doc
+ 
+  mkdir -p "$pkgdir"/usr/share/doc/sage
+  cp -r * "$pkgdir"/usr/share/doc/sage
+  rm "$pkgdir"/usr/share/doc/sage/Makefile
+  rm -r "$pkgdir"/usr/share/doc/sage/output/doctrees
+}



More information about the arch-commits mailing list