updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / octave-specfun / PKGBUILD
blobd3d169d4d15adbcc3d90235eeed1545aa5c41683
1 # Maintainer: Clemens Buchacher <drizzd@aon.at>
2 _pack=specfun
3 pkgname=octave-$_pack
4 pkgver=1.1.0
5 pkgrel=2
6 pkgdesc="Special functions including ellipitic functions, etc"
7 arch=(any)
8 url="http://octave.sourceforge.net/$_pack/"
9 license=('GPL')
10 groups=('octave-forge')
11 depends=('octave>=3.4.0')
12 makedepends=()
13 optdepends=()
14 backup=()
15 options=()
16 install=$pkgname.install
17 _archive=$_pack-$pkgver.tar.gz
18 source=("http://downloads.sourceforge.net/octave/$_archive")
19 noextract=("$_archive")
20 md5sums=('eef8c1ff37b05d5e3388ecedc045d53a')
22 build() {
23   cd "$srcdir"
24   mkdir -p builddir
25   octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
28 package() {
29   mkdir -p "$pkgdir/usr/share/octave/packages"
30   mkdir -p "$pkgdir/usr/lib/octave/packages"
31   cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"