123456789101112131415161718192021222324252627282930313233 |
- # Template file for 'texlive-latexextra'
- pkgname=texlive-latexextra
- version=2020.55418
- revision=1
- archs="noarch"
- build_style="texmf"
- depends="perl-File-Which python3-Pygments texlive-core texlive-pictures"
- short_desc="TeX Live - Collection of LaTeX addon packages"
- maintainer="fosslinux <fosslinux@aussies.space>"
- license="GPL-2.0-or-later"
- homepage="http://tug.org/texlive/"
- distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
- checksum=a2ee21a2a6f00def6bec620a85bb8116de97a16dcd98adaa308eb455fe0e7fcb
- pre_build() {
- # Commands below are taken from `mksource` function of:
- # https://git.parabola.nu/abslibre.git/tree/libre/texlive-latexextra/PKGBUILD
- # remove nonfree packages
- # no specific free license
- rm -v {authoraftertitle,clock,fnpara}.tar.xz
- # nonfree license (CC BY-NC)
- rm -v axessibility.tar.xz
- }
- post_build() {
- # Commands below are taken from `prepare` function of:
- # https://git.parabola.nu/abslibre.git/tree/libre/texlive-latexextra/PKGBUILD
- # remove nonfree packages references from package list
- sed -ri '/^(axessibility|authoraftertitle|fnpara) /d' CONTENTS
- }
|