[arch-commits] Commit in sage-mathematics-doc/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Mon Jan 5 21:13:41 UTC 2015
Date: Monday, January 5, 2015 @ 22:13:41
Author: arojas
Revision: 125451
db-move: moved sage-mathematics-doc from [community-testing] to [community] (any)
Added:
sage-mathematics-doc/repos/community-any/
sage-mathematics-doc/repos/community-any/PKGBUILD
(from rev 125450, sage-mathematics-doc/repos/community-testing-any/PKGBUILD)
Deleted:
sage-mathematics-doc/repos/community-testing-any/
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: sage-mathematics-doc/repos/community-any/PKGBUILD (from rev 125450, sage-mathematics-doc/repos/community-testing-any/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-01-05 21:13:41 UTC (rev 125451)
@@ -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