Skip to content

Instantly share code, notes, and snippets.

@Ablinne Ablinne/PKGBUILD
Created Sep 18, 2019

Embed
What would you like to do?
texlive-most-doc/PKGBUILD
# 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=20190918
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=('rsync')
install='texlive-most-doc.install'
options=('!strip' '!purge')
pkgver() {
date -I | tr -d '-'
}
build() {
mkdir -p "$srcdir/usr/share/texmf-dist"
mkdir -p "$srcdir/usr/share/tlpkg"
rsync -av --delete --no-o --no-g --chmod=D755,F644 rsync://tug.org/texlive/Contents/live/texmf-dist/doc "$srcdir/usr/share/texmf-dist/"
rsync -av --delete --no-o --no-g --chmod=D755,F644 rsync://tug.org/texlive/Contents/live/tlpkg/texlive.tlpdb "$srcdir/usr/share/tlpkg/"
}
package() {
cp -rl "$srcdir"/* "$pkgdir"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.