blob: aa141381045e264c28bc822aa58c5ede2b05429b (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=gnuplot
pkgver=5.0.4
pkgrel=0
pkgdesc="Utility for plotting graphs"
url="http://www.gnuplot.info/"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="cairo-dev pango-dev gd-dev lua5.2-dev readline-dev
libpng-dev libjpeg-turbo-dev"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/gnuplot/gnuplot/$pkgver/gnuplot-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-stats \
--disable-wxwidgets \
--disable-qt \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -Dm644 BUGS ChangeLog NEWS PGPKEYS PORTING README* \
"$pkgdir"/usr/share/doc/$pkgname/ || return 1
}
md5sums="cb228f60ae152712ffde0db5de346c40 gnuplot-5.0.4.tar.gz"
sha256sums="151cb845728bde75eb9d1561b35140114a05a7c52a52bd35b4b2b3d944e0c31e gnuplot-5.0.4.tar.gz"
sha512sums="ebb6bf64cc7f333135d328f6b72d73ef3a3b62f5df28d746efa1589dd9d54fc359306c7c2bc5ad9671b53b0cc945a4388b087abf365dda7417fe21a93ff29dae gnuplot-5.0.4.tar.gz"
|