1 # Contributor: Philipp Brüschweiler <blei42 gmail com>
2 # Contributor: Ng Oon-Ee <ngoonee.talk@gmail.com>
3 # Maintainer: Clemens Buchacher <drizzd@aon.at>
8 pkgdesc="The Octave-forge Image package provides functions for processing images."
10 url="http://octave.sourceforge.net/$_pack/"
12 groups=('octave-forge')
13 depends=('octave>=3.2.0' 'libjpeg' 'libpng')
14 makedepends=('gcc-fortran')
18 install=$pkgname.install
19 _archive=$_pack-$pkgver.tar.gz
20 source=("http://downloads.sourceforge.net/octave/$_archive")
21 noextract=("$_archive")
22 md5sums=('c80baf7e27a44a3366847012099df0d1')
27 octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
31 mkdir -p "$pkgdir/usr/share/octave/packages"
32 mkdir -p "$pkgdir/usr/lib/octave/packages"
33 cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"