[arch-commits] Commit in sagemath-doc/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Mar 11 19:18:45 UTC 2021
Date: Thursday, March 11, 2021 @ 19:18:44
Author: arojas
Revision: 887568
Further cleanup
Modified:
sagemath-doc/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-11 19:17:34 UTC (rev 887567)
+++ PKGBUILD 2021-03-11 19:18:44 UTC (rev 887568)
@@ -17,17 +17,18 @@
cd sage-$pkgver
SAGE_ROOT="$PWD" PATH="$PWD/build/bin:$PATH" src/doc/bootstrap
+ rm -r src/sage # Use the installed sage, not the one from the source tree
}
build() {
- cd sage-$pkgver
+ cd sage-$pkgver/src
- export SAGE_SRC="$PWD"/src \
- SAGE_DOC="$PWD"/src/doc \
+ export SAGE_SRC="$PWD" \
+ SAGE_DOC="$PWD"/doc \
MATHJAX_DIR=/usr/share/mathjax2 \
SAGE_NUM_THREADS=10 \
LANG=C
- python -m src.sage_setup.docbuild --no-pdf-links --mathjax all html
+ python -m sage_setup.docbuild --no-pdf-links --mathjax all html
}
package() {
More information about the arch-commits
mailing list