From 530b4d1ffd95c712f145c09e225878b4c875951b Mon Sep 17 00:00:00 2001 From: qwjyh Date: Thu, 9 May 2024 20:18:21 +0900 Subject: [PATCH] init --- .SRCINFO | 8 ++++++++ .gitignore | 1 + PKGBUILD | 23 +++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 .SRCINFO create mode 100644 .gitignore create mode 100644 PKGBUILD 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 +} +