diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-16 00:36:56 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-16 00:36:56 +0200 |
commit | 9686544dca02cfe7cad42ad498b8a63c6e7cba5d (patch) | |
tree | 1826e38a2583115e088cb3a82da6d637d0701197 /testing/gnuplot/APKBUILD | |
parent | 6672943982d91e8a4230b01d03448da01402cd89 (diff) | |
download | aports-9686544dca02cfe7cad42ad498b8a63c6e7cba5d.tar.bz2 aports-9686544dca02cfe7cad42ad498b8a63c6e7cba5d.tar.xz |
testing/gnuplot: upgrade to 5.0.4
Diffstat (limited to 'testing/gnuplot/APKBUILD')
-rw-r--r-- | testing/gnuplot/APKBUILD | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/testing/gnuplot/APKBUILD b/testing/gnuplot/APKBUILD index 39173af254..aa14138104 100644 --- a/testing/gnuplot/APKBUILD +++ b/testing/gnuplot/APKBUILD @@ -1,7 +1,7 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=gnuplot -pkgver=5.0.2 +pkgver=5.0.4 pkgrel=0 pkgdesc="Utility for plotting graphs" url="http://www.gnuplot.info/" @@ -9,30 +9,21 @@ arch="all" license="MIT" depends="" depends_dev="" -makedepends="cairo-dev pango-dev gd-dev lua5.2-dev readline-dev libpng-dev - libjpeg-turbo-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"/gnuplot-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ + --enable-stats \ --disable-wxwidgets \ --disable-qt \ || return 1 @@ -40,10 +31,14 @@ build() { } package() { - cd "$_builddir" + 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="42a7eb5544ec8a43ef85228762d303ee gnuplot-5.0.2.tar.gz" -sha256sums="5a2b31d375f56d29272193370705164cde49545a332841183bcca44f02b1d890 gnuplot-5.0.2.tar.gz" -sha512sums="44fb9fcb821139f9e61d86135d31a9308c3a46f10c96d08b342b64b14c942363dbc8af4fa233cb5ef0a6743280b5bf44572cabd838192128bfd6578b583ab0f0 gnuplot-5.0.2.tar.gz" +md5sums="cb228f60ae152712ffde0db5de346c40 gnuplot-5.0.4.tar.gz" +sha256sums="151cb845728bde75eb9d1561b35140114a05a7c52a52bd35b4b2b3d944e0c31e gnuplot-5.0.4.tar.gz" +sha512sums="ebb6bf64cc7f333135d328f6b72d73ef3a3b62f5df28d746efa1589dd9d54fc359306c7c2bc5ad9671b53b0cc945a4388b087abf365dda7417fe21a93ff29dae gnuplot-5.0.4.tar.gz" |