template 946 B

12345678910111213141516171819202122232425262728293031
  1. # Template file for 'texlive-fontsextra'
  2. pkgname=texlive-fontsextra
  3. version=2020.55407
  4. revision=1
  5. archs="noarch"
  6. build_style="texmf"
  7. depends="texlive-core"
  8. short_desc="TeX Live - All sorts of extra fonts"
  9. maintainer="fosslinux <fosslinux@aussies.space>"
  10. license="GPL-2.0-or-later"
  11. homepage="http://tug.org/texlive/"
  12. distfiles="https://sources.archlinux.org/other/texlive/${pkgname}-${version}-src.zip"
  13. checksum=25e1060c699f09e02924bf27902b162d7af5a6cc2d0c898f83c09ca0928d9060
  14. pre_build() {
  15. # Commands below are taken from `mksource` function of:
  16. # https://git.parabola.nu/abslibre.git/tree/libre/texlive-fontsextra/PKGBUILD
  17. # remove nonfree packages
  18. # no specific free license
  19. rm -v ogham.tar.xz
  20. }
  21. post_build() {
  22. # Commands below are taken from `prepare` function of:
  23. # https://git.parabola.nu/abslibre.git/tree/libre/texlive-fontsextra/PKGBUILD
  24. # remove nonfree packages references from package list
  25. sed -ri '/^ogham /d' CONTENTS
  26. }