diff options
author | root <root@rshg054.dnsready.net> | 2011-08-18 23:14:33 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-18 23:14:33 +0000 |
commit | 59eecef62ae9aa7dd391310f30293318f641c59c (patch) | |
tree | 18b1685d21f421939a133b2db2663bc63e5d873c /community/sage-mathematics/PKGBUILD | |
parent | 3413e75c9cdb6c0daf6ddf92f469a2221c94a55b (diff) |
Thu Aug 18 23:14:33 UTC 2011
Diffstat (limited to 'community/sage-mathematics/PKGBUILD')
-rw-r--r-- | community/sage-mathematics/PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD index 7b50171ae..186d71729 100644 --- a/community/sage-mathematics/PKGBUILD +++ b/community/sage-mathematics/PKGBUILD @@ -4,7 +4,7 @@ # Special thanks to Nareto for moving the compile from the .install to the PKGBUILD pkgname=sage-mathematics -pkgver=4.7 +pkgver=4.7.1 pkgrel=1 pkgdesc='SAGE: Open Source Mathematics Software, a viable free alternative to Magma, Maple, Mathematica, and Matlab.' url='http://www.sagemath.org' @@ -15,12 +15,12 @@ depends=('ppl') makedepends=('gcc-fortran' 'gcc-libs' 'desktop-file-utils' 'imagemagick' 'texlive-core') optdepends=('imagemagick: some plotting functionality benefits from it' 'texlive-core: some plotting functionality benefits from it, also to use SageTeX' - 'sage-mathematics-spkgs: original packages used to build additional packages, in the AUR') + 'sage-mathematics-spkgs: original packages used to build additional packages') options=('!makeflags') install="${pkgname}.install" source=("http://sage.math.washington.edu/home/release/sage-${pkgver}/sage-${pkgver}.tar" 'SAGE-notebook.desktop') -md5sums=('db4d891feed487e1696b8d01ae3b6469' +md5sums=('4d82c6719d14a1c2d403024d989faac7' 'dc391f12b7d17dd37326343ec0e99bbd') build() { @@ -64,6 +64,10 @@ build() { # only build sage, no documents #make build make +} + +check() { + cd sage-${pkgver} # uncomment if we want to run all the tests (warning: very long) #make ptestlong @@ -92,7 +96,8 @@ package() { rm -f ${pkgdir}/opt/sage/install.log rm -rf ${pkgdir}/opt/sage/spkg/logs - # remove source packages, since they are rarely needed, they are 300mb in size (compressed), and no need to compile them, put them into aur/sage-mathematics-spkgs + # remove source packages, since they are rarely needed, they are 300mb in size (compressed) + # no need to package them together, put into sage-mathematics-spkgs rm -f ${pkgdir}/opt/sage/spkg/base/*spkg rm -f ${pkgdir}/opt/sage/spkg/standard/*spkg } |