summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}