summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b7e925922a807265f0a11f45f9c9a5b406e4992d (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
30
31
32
33
34
35
# Maintainer: entshuld <edgar [not at] openmail [dot] cc />
_base=academicons
pkgname=ttf-"${_base}"
pkgver=1.9.1
pkgrel=1
pkgdesc="Specialist icon font for academics (without texlive-fontextra)"
arch=(any)
url="https://jpswalsh.github.io/academicons/"
license=("SIL 1.1")
source=("https://mirrors.ctan.org/fonts/academicons.zip")
sha512sums=('57dce32358574c3b78d47e12510f25fbce08426bd891f96ffbb7638755fc099f28944cc3f1ea20b69aefd0a62b09c74f8e57dbfc836c3495a0f87b312ec8982d')
makedepends=("unzip")
conflicts=("texlive-fontsextra")

package() {
	cd "${srcdir}"/${_base}
	mkdir -p "${pkgdir}"/usr/share/fonts/TTF/public/${_base}
	install -m644 ./*.ttf "${pkgdir}"/usr/share/fonts/TTF/public/${_base}
    mkdir -p "${pkgdir}"/usr/share/texmf-dist/tex/latex/academicons/
    install -m644 ./*.sty ./*.fd "${pkgdir}"/usr/share/texmf-dist/tex/latex/academicons/

    # These are already installed by texlive-doc
    # /usr/share/doc/texlive/fonts/academicons/academicons.pdf
    # /usr/share/doc/texlive/fonts/academicons/README

    # This is from texlive-fontsextra
    # usr/share/texmf-dist/fonts/truetype/public/academicons/
    # usr/share/texmf-dist/fonts/truetype/public/academicons/academicons.ttf
    # usr/share/texmf-dist/tex/latex/academicons/
    # usr/share/texmf-dist/tex/latex/academicons/academicons.sty
    # usr/share/texmf-dist/tex/latex/academicons/tuacademicons.fd

	# TODO license is not available
	# install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}