updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / octave-statistics / PKGBUILD
blob58fe998673b4e58db2799383691dbcdcf873e287
1 # Submitter: Dknight
2 # Contributor: Maksim Sipos <msipos@mailc.net>
3 # Maintainer: Clemens Buchacher <drizzd@aon.at>
4 _pack=statistics
5 pkgname=octave-$_pack
6 pkgver=1.1.0
7 pkgrel=1
8 pkgdesc="Additional statistics functions for octave."
9 arch=(any)
10 url="http://octave.sourceforge.net/$_pack/"
11 license=('GPL' 'GPL3' 'custom:see individual files')
12 depends=('octave>=2.9.7' 'octave-miscellaneous')
13 makedepends=('tar' 'gzip')
14 optdepends=()
15 backup=()
16 options=()
17 install=octave-$_pack.install
18 _archive=$_pack-$pkgver.tar.gz
19 source=("http://downloads.sourceforge.net/octave/$_archive")
20 noextract=("$_archive")
21 md5sums=('908d4d346528711f772dbb53057cd0b6')
23 build() {
24   cd "$srcdir"
25   mkdir -p $pkgdir/usr/share/octave/packages
26   mkdir -p $pkgdir/usr/lib/octave/packages
27   mkdir -p builddir
28   echo "pkg build -nodeps builddir $_archive" | octave --silent
29   cp "builddir/$_archive" $pkgdir/usr/share/octave/$_pack.tar.gz