23 lines
809 B
Bash
23 lines
809 B
Bash
# Maintainer: qwjyh <urataw421 at gmail dot com>
|
|
|
|
pkgname=ttf-computer-modern-mathtexengine-jl
|
|
pkgver=0.6.0
|
|
pkgrel=1
|
|
pkgdesc="Computer Modern copied from local MathTeXEngine.jl"
|
|
arch=('any')
|
|
license=('custom')
|
|
depends=()
|
|
source=()
|
|
sha256sums=()
|
|
|
|
_src_ver="aUKOy"
|
|
_src_path="$HOME/.julia/packages/MathTeXEngine/$_src_ver/assets/fonts"
|
|
|
|
package() {
|
|
cd "$pkgdir"
|
|
install -Dm644 "$_src_path"/ComputerModern/*.ttf -t "$pkgdir"/usr/share/fonts/ComputerModern
|
|
install -Dm644 "$_src_path"/NewComputerModern/*.otf -t "$pkgdir"/usr/share/fonts/NewComputerModern
|
|
install -Dm644 "$_src_path"/ComputerModern/LICENCE "$pkgdir"/usr/share/licenses/"$pkgname"/ComputerModern-LICENSE
|
|
install -Dm644 "$_src_path"/NewComputerModern/LICENCE "$pkgdir"/usr/share/licenses/"$pkgname"/NewComputerModern-LICENSE
|
|
}
|
|
|