summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3965e763190a697c20e80bac48b4403bd070669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Yichao Zhou <broken.zhou@gmail.com>
# Maintainer: gothicVI <sebastian [dot] steinbeisser [at] googlemail [dot] com>
pkgname=texlive-installer
pkgver=2026
pkgrel=1
pkgdesc="This packages provides the installer of texlive. It also tricks Arch into thinking it has its texlive packages installed."
url="http://www.tug.org/texlive/"
arch=('any')
license=('GPL')
depends=('wget' 'xz')
optdepends=(tk)
makedepends=()
replaces=()
provides=(
    'texlive-core' 'texlive-bin' 'texlive-htmlxml' "texlive-formatsextra=${pkgver}"
    'asymptote' 'biber' 'dvisvgm' 'luametatex' 'psutils' 't1utils'
    $(pacman -Sgq texlive texlive-lang)
)
source=("http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz")
md5sums=('SKIP')
install="${pkgname}".install

package() {
    rm -r "${srcdir}"/install-tl-[0-9]*/tlpkg/installer/wget
    rm -r "${srcdir}"/install-tl-[0-9]*/tlpkg/installer/xz

    install -d "${pkgdir}"/opt
    cp -R "${srcdir}"/install-tl-[0-9]*/ "${pkgdir}"/opt/texlive-installer
}