updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / octave-image / PKGBUILD
blobaeb84a3513cf523124fe080b5bc62e12e8a99563
1 # Contributor: Philipp Brüschweiler <blei42 gmail com>
2 # Contributor: Ng Oon-Ee <ngoonee.talk@gmail.com>
3 # Maintainer: Clemens Buchacher <drizzd@aon.at>
4 _pack=image
5 pkgname=octave-$_pack
6 pkgver=1.0.15
7 pkgrel=4
8 pkgdesc="The Octave-forge Image package provides functions for processing images."
9 arch=(any)
10 url="http://octave.sourceforge.net/$_pack/"
11 license=('GPL')
12 groups=('octave-forge')
13 depends=('octave>=3.2.0' 'libjpeg' 'libpng')
14 makedepends=('gcc-fortran')
15 optdepends=()
16 backup=()
17 options=()
18 install=$pkgname.install
19 _archive=$_pack-$pkgver.tar.gz
20 source=("http://downloads.sourceforge.net/octave/$_archive")
21 noextract=("$_archive")
22 md5sums=('c80baf7e27a44a3366847012099df0d1')
24 build() {
25   cd "$srcdir"
26   mkdir -p builddir
27   octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
30 package() {
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"