blob: 3db8a45937e9db8c821ed37047b1dcd4f8b59531 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#
# Contributor : Clemens Buchacher <drizzd@aon.at>
# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
#
# You can use the newpkg script from
# https://github.com/drizzd/octave-forge-archlinux to automatically generate
# new octave-forge PKGBUILDs or update existing ones. Patches welcome.
#
_pack=control
pkgname=octave-$_pack
pkgver=2.6.4
pkgrel=1
pkgdesc="Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library"
arch=(any)
url="http://octave.sourceforge.net/$_pack/"
license=('GPL3')
groups=('octave-forge')
depends=('octave>=3.6.0')
makedepends=('gcc-fortran')
optdepends=()
backup=()
options=('!makeflags')
install=$pkgname.install
_archive=$_pack-$pkgver.tar.gz
source=("http://downloads.sourceforge.net/octave/$_archive")
noextract=("$_archive")
build() {
cd "$srcdir"
mkdir -p builddir
octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
}
package() {
mkdir -p "$pkgdir/usr/share/octave/packages"
mkdir -p "$pkgdir/usr/lib/octave/packages"
cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"
}
|