updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / octave-geometry / PKGBUILD
blob92ae7158c8319a9c6ca627026a030f60c3ae96e3
1 # Maintainer: Clemens Buchacher <drizzd@aon.at>
2 _pack=geometry
3 pkgname=octave-$_pack
4 pkgver=1.2.2
5 pkgrel=1
6 pkgdesc="Library for geometric computing extending MatGeom functions. Useful to create, transform, manipulate and display geometric primitives."
7 arch=(any)
8 url="http://octave.sourceforge.net/$_pack/"
9 license=('GPL3' 'BSD')
10 depends=('octave>=3.4.0')
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=('f7aae302448e92bb9f84b470d1f98547')
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"