summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsolnce2017-09-20 16:28:14 +0200
committersolnce2017-09-20 16:28:14 +0200
commite9c79cc10eacaa59f26ad7213aebcb2103e9b9d3 (patch)
treec0ac9fa7e903e8f9a3ac030dd427049d737e90f9
downloadaur-e9c79cc10eacaa59f26ad7213aebcb2103e9b9d3.tar.gz
initial commit, first version
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD34
-rw-r--r--texlive-most-doc.install11
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..de5095da39b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = texlive-most-doc
+ pkgdesc = Most TeXLive documentation
+ pkgver = 20170920
+ pkgrel = 1
+ url = http://tug.org/texlive/
+ install = texlive-most-doc.install
+ arch = any
+ license = unknown
+ makedepends = wget
+ optdepends = texlive-bin: The texdoc program and some more documentation
+ options = !strip
+ options = !purge
+
+pkgname = texlive-most-doc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f495c6a2662
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Contributor: solnce <solnce at ratajczak dot one>
+# Maintainer: solnce <solnce at ratajczak dot one>
+# original code by Sunday87: https://bbs.archlinux.org/viewtopic.php?pid=1253365#p1253365
+
+pkgname=texlive-most-doc
+pkgver=20170920
+pkgrel=1
+pkgdesc="Most TeXLive documentation"
+url="http://tug.org/texlive/"
+arch=('any')
+license=('unknown')
+optdepends=('texlive-bin: The texdoc program and some more documentation')
+makedepends=('wget')
+install='texlive-most-doc.install'
+options=('!strip' '!purge')
+
+build() {
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf-dist/doc
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/asymptote
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/dvipng/dvipng.pdf
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/dvips/dvips.pdf
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/man
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/info
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/tetex
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/texlive
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/texworks
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/web2c/web2c.pdf
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/ttf2pk/ttf2tfm.txt
+ wget -r -l inf -N -nH -nv --cut-dirs=3 -P "$srcdir/usr/share/" ftp://tug.org/texlive/Contents/live/texmf/doc/ttf2pk/ttf2pk.txt
+}
+
+package() {
+ cp -rl "$srcdir"/* "$pkgdir"
+}
diff --git a/texlive-most-doc.install b/texlive-most-doc.install
new file mode 100644
index 00000000000..78e0cf8426d
--- /dev/null
+++ b/texlive-most-doc.install
@@ -0,0 +1,11 @@
+post_install() {
+ texhash
+}
+
+post_remove() {
+ texhash
+}
+
+post_upgrade() {
+ texhash
+}