summaryrefslogtreecommitdiff
path: root/community/sage-mathematics
diff options
context:
space:
mode:
Diffstat (limited to 'community/sage-mathematics')
-rw-r--r--community/sage-mathematics/PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD
index 9cc885944..a4fd5c450 100644
--- a/community/sage-mathematics/PKGBUILD
+++ b/community/sage-mathematics/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 105276 2014-02-03 20:58:05Z arcanis $
+# $Id: PKGBUILD 105329 2014-02-05 06:14:45Z arcanis $
# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Antonio Rojas <nqn1976 at gmail dot com>
@@ -9,7 +9,7 @@
pkgname=sage-mathematics
pkgver=6.1
-pkgrel=2
+pkgrel=3
pkgdesc="Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab"
arch=('i686' 'x86_64')
url="http://www.sagemath.org"
@@ -100,6 +100,7 @@ package() {
# remove build logs
rm -f *.log
rm -rf "${srcdir}/sage-${pkgver}/"{logs,upstream}
+ # do NOT remove build directory!
# cp because make install is experimental and will corrupt the install
install -dm755 "${pkgdir}/opt/sage"
@@ -118,8 +119,6 @@ package() {
mv "${pkgdir}/usr/bin/${ITEM}" "${pkgdir}/usr/bin/sage-${ITEM}"
done
ln -s "/opt/sage/sage" "${pkgdir}/usr/bin/sage"
- # remove DOT_SAGE directory
- rm -rf "${pkgdir}/opt/sage/build"
# install a systemd user unit
install -Dm644 "${srcdir}/sage.service" "${pkgdir}/usr/lib/systemd/user/sage.service"