updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / octave-symbolic / PKGBUILD
blob2c0c31ad055c41ac213daa8b88e55421866bbb00
1 # Maintainer: Denis Fokin <foks.ua@gmail.com>
2 pkgname=octave-symbolic
3 pkgver=1.1.0
4 pkgrel=1
5 pkgdesc="Symbolic toolbox based on GiNaC and CLN"
6 arch=(any)
7 url="http://octave.sourceforge.net/symbolic/"
8 license=('GPL')
9 depends=('octave>=3.1.55 ginac>=1.6.0')
10 makedepends=()
11 optdepends=()
12 backup=()
13 options=()
14 install=octave-symbolic.install
15 source=("http://downloads.sourceforge.net/octave/symbolic-$pkgver.tar.gz")
16 noextract=("symbolic-$pkgver.tar.gz")
17 md5sums=('c6e7a4d9e3e1f9e836a28f9e1e8cf02e')
19 build() {
20   cd "$srcdir"
21   mkdir -p $pkgdir/usr/share/octave/packages
22   mkdir -p $pkgdir/usr/lib/octave/packages
23   mkdir -p builddir
24   echo "pkg build -nodeps builddir symbolic-$pkgver.tar.gz" | octave --silent
25   cp builddir/symbolic-$pkgver.tar.gz $pkgdir/usr/share/octave/symbolic.tar.gz