updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / octave-communications / PKGBUILD
blob60e7619d5bd105fba4bc047b722bf35a083af76f
1 # Maintainer: Clemens Buchacher <drizzd@aon.at>
2 _pack=communications
3 pkgname=octave-$_pack
4 pkgver=1.1.0
5 pkgrel=1
6 pkgdesc="Digital Communications, Error Correcting Codes (Channel Code), Source Code functions, Modulation and Galois Fields"
7 arch=(any)
8 url="http://octave.sourceforge.net/$_pack/"
9 license=('GPL')
10 depends=('octave>=3.4.0' 'octave-signal>=1.0.0' 'octave-image')
11 makedepends=()
12 optdepends=()
13 backup=()
14 options=()
15 install=$pkgname.install
16 _archive=$_pack-$pkgver.tar.gz
17 source=("http://downloads.sourceforge.net/octave/$_pack-$pkgver.tar.gz")
18 noextract=("$_archive")
19 md5sums=('1ec83d2757d5aa7d65be4a4c29741eba')
21 build() {
22   cd "$srcdir"
23   mkdir -p builddir
24   octave -q -f --eval "pkg build -nodeps builddir $_archive"
27 package() {
28   mkdir -p "$pkgdir/usr/share/octave/packages"
29   mkdir -p "$pkgdir/usr/lib/octave/packages"
30   cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"