summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Williams2020-05-03 03:18:14 +1200
committerSamuel Williams2020-05-03 03:18:14 +1200
commit58bf82e80d7044794f5c2929388ee8ab224c4288 (patch)
treef0c3e70e6d190bc0ccb28e201eaaf5cfd5de57b7
parentf53f90fbd1683779a51321119558f0f786b7edc9 (diff)
downloadaur-gnuplot-caca.tar.gz
Update to 5.2.8
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD21
2 files changed, 19 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2c867e5f741..539c9721640 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gnuplot-caca
pkgdesc = Plotting package which outputs to X11, PostScript, PNG, GIF, and others
- pkgver = 5.2.2
+ pkgver = 5.2.8
pkgrel = 1
url = http://www.gnuplot.info
arch = x86_64
@@ -19,10 +19,12 @@ pkgbase = gnuplot-caca
depends = qt5-svg
depends = libcaca
depends = gnutls
- source = https://downloads.sourceforge.net/sourceforge/gnuplot-caca/gnuplot-caca-5.2.2.tar.gz
+ provides = gnuplot
+ conflicts = gnuplot
+ source = https://downloads.sourceforge.net/sourceforge/gnuplot/gnuplot-5.2.8.tar.gz
source = lua53_compat.patch
- sha1sums = fc39158851f39e48136d2bdd3f753bf46a99965c
- sha1sums = 9005fa9e4da91ceedb8ccd1d761866e7b064f8b1
+ sha256sums = 60a6764ccf404a1668c140f11cc1f699290ab70daa1151bb58fed6139a28ac37
+ sha256sums = bfd8a61abbf4491c74225cb9fd252619d4fc29751838bcb4c0639ffe05a00695
pkgname = gnuplot-caca
diff --git a/PKGBUILD b/PKGBUILD
index 2db2cf67b87..6d68c9f0cc9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,9 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Samuel Williams <https://www.codeotaku.com>
-pkgname=gnuplot-caca
-pkgver=5.2.2
+_pkgname=gnuplot
+pkgname=${_pkgname}-caca
+pkgver=5.2.8
pkgrel=1
pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others"
arch=('x86_64')
@@ -13,13 +14,17 @@ url="http://www.gnuplot.info"
license=('custom')
depends=('readline' 'gd' 'wxgtk2' 'cairo' 'libjpeg' 'lua' 'qt5-svg' 'libcaca' 'gnutls')
makedepends=('texinfo' 'texlive-core' 'emacs' 'texlive-latexextra' 'qt5-tools')
-source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
+source=("https://downloads.sourceforge.net/sourceforge/$_pkgname/$_pkgname-$pkgver.tar.gz"
"lua53_compat.patch")
-sha1sums=('fc39158851f39e48136d2bdd3f753bf46a99965c'
- '9005fa9e4da91ceedb8ccd1d761866e7b064f8b1')
+
+provides=($_pkgname)
+conflicts=($_pkgname)
+
+sha256sums=('60a6764ccf404a1668c140f11cc1f699290ab70daa1151bb58fed6139a28ac37'
+ 'bfd8a61abbf4491c74225cb9fd252619d4fc29751838bcb4c0639ffe05a00695')
prepare() {
- cd ${pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
# fix default source location; use the GDFONTPATH variable to modify at runtime
sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c
@@ -32,7 +37,7 @@ prepare() {
}
build() {
- cd ${pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
MAKEINFO=/usr/bin/makeinfo WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr \
--libexecdir=/usr/bin \
@@ -46,7 +51,7 @@ build() {
}
package() {
- cd ${pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
make pkglibexecdir=/usr/bin DESTDIR="${pkgdir}" install
install -Dm644 Copyright "${pkgdir}/usr/share/licenses/$pkgname/Copyright"