# Contributor: prspkt # Maintainer: Fabian Affolter pkgname=gnuplot pkgver=5.4.8 pkgrel=0 pkgdesc="Utility for plotting graphs" url="http://www.gnuplot.info/" arch="all" license="MIT" makedepends=" cairo-dev gd-dev libjpeg-turbo-dev libpng-dev lua5.3-dev pango-dev readline-dev " subpackages="$pkgname-doc" source="https://downloads.sourceforge.net/sourceforge/gnuplot/gnuplot-$pkgver.tar.gz" build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-stats \ --disable-wxwidgets \ --disable-qt make } check() { make GNUTERM=dumb check } package() { make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ install -m644 BUGS NEWS PGPKEYS README* \ "$pkgdir"/usr/share/doc/$pkgname/ } sha512sums=" 3fe0ed783db85d95bdbc13e24ec5dc9bb6b2d85b3571cc87d3c17c94f4463fb6e681376394e0918cf3915f8f53896e6423ce76cb8b6fdbefcd6ec3e1b3b80125 gnuplot-5.4.8.tar.gz "