[arch-general] Installing texlive docs

Thorsten Jolitz tjolitz at gmail.com
Sun Aug 31 13:35:51 EDT 2014


AK <aakempf at gmail.com> writes:

> On 31.08.2014 12:50, Thorsten Jolitz wrote:
>> Hi List,
>>
>> based on this page (https://bbs.archlinux.org/viewtopic.php?pid=1253365)
>> I tried to build a texlive-most-doc package:
>>
>> #+NAME: PKGBUILD
>> #+BEGIN_SRC shell
>>    pkgname=texlive-most-doc
>>    pkgver=$(date +%Y%m%d)
>>    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=${pkgname}.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"
>>    }
>> #+END_SRC

[...]

> As the error message says, the directory
>
> ftp://tug.org/texlive/Contents/live/texmf/doc
>
> does not exist. Your URLs are invalid.

Problem is that downloads worked, I have all the docs on my hard-drive
now:

,----
|   /home/tj/abs/texlive-most-doc/src/usr/share/texmf-dist/doc:
|   insgesamt 256
|   drwxr-xr-x   55 tj tj  4096 31. Aug 06:54 .
|   drwxr-xr-x    3 tj tj  4096 31. Aug 03:20 ..
|   drwxr-xr-x    3 tj tj  4096 31. Aug 03:20 aleph
|   drwxr-xr-x    3 tj tj  4096 31. Aug 03:20 amstex
|   drwxr-xr-x    3 tj tj  4096 31. Aug 03:21 asymptote
|   drwxr-xr-x    2 tj tj  4096 31. Aug 03:22 bg5conv
|   drwxr-xr-x   25 tj tj  4096 31. Aug 03:23 bibtex
|   drwxr-xr-x    2 tj tj  4096 31. Aug 03:23 bibtex8
|   drwxr-xr-x    2 tj tj  4096 31. Aug 03:23 bibtexu
|   drwxr-xr-x    2 tj tj  4096 31. Aug 03:23 [...]
`----

but building the package failed. 

-- 
cheers,
Thorsten


More information about the arch-general mailing list