1 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgdesc="Toolbox for plotting in englab"
6 url="http://englab.bugfest.net/"
9 depends=('gcc-libs' 'mathgl')
10 makedepends=('libenglab')
11 optdepends=('englab: will be needed, or englabgui will be needed')
12 install=$pkgname.install
13 source=(http://downloads.sourceforge.net/englab/$pkgname-$pkgver.tar.gz)
14 md5sums=('e17759ec4e4b84d2e45792725b5377d8')
16 cd $srcdir/$pkgname-$pkgver
17 ./configure --prefix=/usr --sysconfdir=/etc || return 1
19 sed -i 's/ldconfig//g' src/makefile || return 1
20 make DESTDIR=$pkgdir install || return 1
21 install -d $pkgdir/usr/share/doc/englab-plot
22 cp -R $pkgdir/usr/share/doc/englab/* \
23 $pkgdir/usr/share/doc/englab-plot || return 1
24 rm -r $pkgdir/usr/share/doc/englab || return 1