This commit is contained in:
qwjyh 2024-05-09 20:18:21 +09:00
commit 530b4d1ffd
3 changed files with 32 additions and 0 deletions

8
.SRCINFO Normal file
View file

@ -0,0 +1,8 @@
pkgbase = ttf-computer-modern-mathtexengine-jl
pkgdesc = Computer Modern copied from local MathTeXEngine.jl
pkgver = 0.6.0
pkgrel = 1
arch = any
license = custom
pkgname = ttf-computer-modern-mathtexengine-jl

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*

23
PKGBUILD Normal file
View file

@ -0,0 +1,23 @@
# 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
}