commit 530b4d1ffd95c712f145c09e225878b4c875951b Author: qwjyh Date: Thu May 9 20:18:21 2024 +0900 init diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..6ceb42a --- /dev/null +++ b/.SRCINFO @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..222e1fd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: qwjyh + +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 +} +