summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
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
}