From 19767b96a2507bc812dbab9b217d2a738f387ca7 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Wed, 8 Oct 2014 17:54:27 +0200 Subject: octave-control Computer-Aided Control System Design (CACSD) Tools for GNU Octave, ctabe, based on the proven SLICOT Library --- pcr/octave-control/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 pcr/octave-control/PKGBUILD (limited to 'pcr/octave-control/PKGBUILD') diff --git a/pcr/octave-control/PKGBUILD b/pcr/octave-control/PKGBUILD new file mode 100644 index 000000000..3db8a4593 --- /dev/null +++ b/pcr/octave-control/PKGBUILD @@ -0,0 +1,39 @@ +# +# Contributor : Clemens Buchacher +# Maintainer : Aurélien DESBRIÈRES +# +# 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" +} -- cgit v1.2.3