diff options
author | Torsten Keßler | 2020-12-06 16:11:12 +0100 |
---|---|---|
committer | Torsten Keßler | 2020-12-06 16:11:12 +0100 |
commit | 2513ebdf715a1c3a8cfd40a8bef96cd4ca842ea8 (patch) | |
tree | e61dfe785cc679680dc45e5d8add92ee0e7a856d | |
download | aur-2513ebdf715a1c3a8cfd40a8bef96cd4ca842ea8.tar.gz |
Initial upload: mathtime-professional 2-1
Initial release
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..627b03a8a33e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = mathtime-professional + pkgdesc = Custom-Designed Math Fonts for use with Times Fonts + pkgver = 2 + pkgrel = 1 + url = https://pctex.com/mtpro2.html + arch = any + license = custom + depends = texlive-core + source = local://mtp2fonts.zip.tpm + sha256sums = 43d9b98f2015721fb934549f04ab623de56f26f848d2bdaf81a08871bd2201e6 + +pkgname = mathtime-professional diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f15aa81c7589 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Torsten Keßler <t dot kessler at posteo dot de> + +pkgname=mathtime-professional +pkgver=2 +pkgrel=1 +pkgdesc='Custom-Designed Math Fonts for use with Times Fonts' +url='https://pctex.com/mtpro2.html' +arch=('any') +license=('custom') +depends=('texlive-core') +source=('local://mtp2fonts.zip.tpm') +sha256sums=('43d9b98f2015721fb934549f04ab623de56f26f848d2bdaf81a08871bd2201e6') + +package() { + install -m755 -d "$pkgdir/var/lib/texmf/arch/installedpkgs" + install -m644 /dev/stdin "$pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}.pkgs" <<-EOF + mtpro2 1 + EOF + install -m644 /dev/stdin "$pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}.maps" <<-EOF + Map mtpro2.map + EOF + + install -m755 -d "$pkgdir/usr/share" + cd texmf + find . -type d -exec install -d -m755 "$pkgdir/usr/share/texmf-dist/"'{}' \; + find . -type f -exec install -m644 '{}' "$pkgdir/usr/share/texmf-dist/"'{}' \; + + cd .. + install -Dm644 EULA-MTPro2.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |