updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / octave-audio / PKGBUILD
blob95e6c06317a5fea26bde00e8c9f28c5a874a197e
1 # Maintainer: Clemens Buchacher <drizzd@aon.at>
2 _pack=audio
3 pkgname=octave-$_pack
4 pkgver=1.1.4
5 pkgrel=2
6 pkgdesc="Audio recording, processing and playing tools."
7 arch=(any)
8 url="http://octave.sourceforge.net/$_pack/"
9 license=('GPL')
10 groups=('octave-forge')
11 depends=('octave>=2.9.7')
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=('643dac1ecf0f31c870b4bd9ce7bbd98c')
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"