summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Werkmeister2021-10-21 14:19:16 +0200
committerLucas Werkmeister2021-10-21 14:19:16 +0200
commitc8a15b3fec4a598d13adcb3de7ee6cf25f0fc8f2 (patch)
tree28b7b4c0dbaa1d7c728c2e7e5d7e6d8a7b02d8eb
parent871d8d87548bea07fc7dac912c97be701929913c (diff)
downloadaur-c8a15b3fec4a598d13adcb3de7ee6cf25f0fc8f2.tar.gz
Update to 1.18.1
There’s no proper GitHub release for this version (only a tag with no assets), so we have to grab the unversioned zip from CTAN (which will break with each new release). Also, the contents of the CTAN zip look quite different, so I just hope this install procedure works.
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD13
2 files changed, 9 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa8f10ac3c61..9bc0a97cb313 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = latex-pgfplots
pkgdesc = Allows drawing normal and/or logarithmic plots directly in TeX
- pkgver = 1.17
+ pkgver = 1.18.1
pkgrel = 1
url = http://sourceforge.net/projects/pgfplots/
install = pgfplots.install
@@ -8,8 +8,7 @@ pkgbase = latex-pgfplots
license = GPL
depends = tetex
conflicts = texlive-pictures
- source = https://github.com/pgf-tikz/pgfplots/releases/download/1.17/pgfplots_1.17.tds.zip
- sha256sums = 6fdeb9af837a46e9e7aaf012f8cb40277d8d234814dd9da9aff7fc27664fc2cf
+ source = https://mirrors.ctan.org/graphics/pgf/contrib/pgfplots.zip
+ sha256sums = 6263971bed627898013cf1e01aeff88d19308faf88fc8c091bd2408b3db0a271
pkgname = latex-pgfplots
-
diff --git a/PKGBUILD b/PKGBUILD
index 198287567a7c..aa6f20932e8b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=latex-pgfplots
pkgname_=pgfplots
-pkgver=1.17
+pkgver=1.18.1
pkgrel=1
pkgdesc='Allows drawing normal and/or logarithmic plots directly in TeX'
arch=(any)
@@ -11,15 +11,14 @@ license=(GPL)
install=pgfplots.install
depends=(tetex)
conflicts=(texlive-pictures)
-source=("https://github.com/pgf-tikz/${pkgname_}/releases/download/${pkgver}/${pkgname_}_${pkgver}.tds.zip")
-sha256sums=('6fdeb9af837a46e9e7aaf012f8cb40277d8d234814dd9da9aff7fc27664fc2cf')
+source=("https://mirrors.ctan.org/graphics/pgf/contrib/pgfplots.zip")
+sha256sums=('6263971bed627898013cf1e01aeff88d19308faf88fc8c091bd2408b3db0a271')
package() {
dest=${pkgdir}/usr/share/texmf-dist/tex/latex/$pkgname_
install -d $dest
- cp -r doc scripts $dest
- cp -r tex/generic/$pkgname_/* $dest
- cp -r tex/latex/$pkgname_/*.sty $dest
- cp -r tex/latex/$pkgname_/libs/* $dest/libs
+ cd "$pkgname_"
+
+ cp -r doc scripts tex $dest
}