summaryrefslogtreecommitdiff
path: root/community/qtoctave/PKGBUILD
blob: be22dbe7f5bfb36693fe2ccf66586546bd3a8e93 (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
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=qtoctave
pkgver=0.10.1
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
pkgdesc="qt frontend for octave"
url="https://forja.rediris.es/projects/csl-qtoctave/"
license=('GPL2')
depends=('qt' 'octave' 'hicolor-icon-theme')
makedepends=('cmake')
source=(http://forja.rediris.es/frs/download.php/2054/${pkgname}-${pkgver}.tar.gz \
	qtoctave-gcc44.patch)
md5sums=('f23afd8eb850b950f51b65f256a83835'
         'ca88a01563e2ad4ad3ae4912289b501d')
install=qtoctave.install
options=('!libtool' '!emptydirs')
      
build() {
  cd ${srcdir}/${pkgname}-$pkgver
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \
    -DCMAKE_BUILD_TYPE=RELEASE .
  make
}

package() {
  cd ${srcdir}/${pkgname}-$pkgver
  make DESTDIR=${pkgdir} install
}