updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / koctave3 / PKGBUILD
blob2a801d6885fe3cfc911dd0767dcc30910a7017bd
1 # Contributor: DaNiMoTh <jjdanimoth@gmail.com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Maintainer: Laszlo Papp <djszapi at archlinux us>
4 pkgname=koctave3
5 pkgver=0.70
6 pkgrel=3
7 pkgdesc="A KDE GUI for octave"
8 url="http://koctave.sourceforge.net"
9 license=('GPL')
10 arch=('i686')
11 depends=('kdelibs3')
12 install=koctave.install
13 source=(http://downloads.sourceforge.net/sourceforge/koctave/koctave-$pkgver.tar.gz)
14 md5sums=('59d8e684b165a5341f2107370971188d')
16 build() {
17   cd $srcdir/koctave-$pkgver
18   ./configure --prefix=/opt/kde --without-arts --disable-rpath
19   export KDEDIRS=${pkgdir}/usr:/opt/kde
20   # rpath removal
21   sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
22   sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
23   make || return 1
24   make prefix=${pkgdir}/usr install || return 1