1 # Contributor: DaNiMoTh <jjdanimoth@gmail.com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Maintainer: Laszlo Papp <djszapi at archlinux us>
7 pkgdesc="A KDE GUI for octave"
8 url="http://koctave.sourceforge.net"
12 install=koctave.install
13 source=(http://downloads.sourceforge.net/sourceforge/koctave/koctave-$pkgver.tar.gz)
14 md5sums=('59d8e684b165a5341f2107370971188d')
17 cd $srcdir/koctave-$pkgver
18 ./configure --prefix=/opt/kde --without-arts --disable-rpath
19 export KDEDIRS=${pkgdir}/usr:/opt/kde
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
24 make prefix=${pkgdir}/usr install || return 1