[arch-commits] Commit in ttf-tibetan-machine/repos (3 files)

Gaëtan Bisson bisson at archlinux.org
Thu Mar 28 10:20:11 UTC 2019


    Date: Thursday, March 28, 2019 @ 10:20:11
  Author: bisson
Revision: 445241

archrelease: copy trunk to community-any

Added:
  ttf-tibetan-machine/repos/community-any/
  ttf-tibetan-machine/repos/community-any/PKGBUILD
    (from rev 445240, ttf-tibetan-machine/trunk/PKGBUILD)
  ttf-tibetan-machine/repos/community-any/install
    (from rev 445240, ttf-tibetan-machine/trunk/install)

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 install  |   13 +++++++++++++
 2 files changed, 35 insertions(+)

Copied: ttf-tibetan-machine/repos/community-any/PKGBUILD (from rev 445240, ttf-tibetan-machine/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-03-28 10:20:11 UTC (rev 445241)
@@ -0,0 +1,22 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Firmicus <francois.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
+pkgname=ttf-tibetan-machine
+pkgver=1.901
+pkgrel=8
+pkgdesc='Open-type unicode font for Tibetan'
+url='http://www.thlib.org/tools/scripts/wiki/tibetan%20machine%20uni.html'
+arch=('any')
+license=('GPL')
+depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig')
+source=("https://collab.itc.virginia.edu/access/content/group/26a34146-33a6-48ce-001e-f16ce7908a6a/Tibetan%20fonts/Tibetan%20Unicode%20Fonts/TibetanMachineUnicodeFont.zip")
+sha256sums=('1c3c7bcd1d5846942b449bca1cfabd26cb723f69d14933f06e66da2aa7069c81')
+
+install=install
+
+package() {
+	cd ${srcdir}
+	install -d ${pkgdir}/usr/share/fonts/TTF
+	install -m644 TibetanMachineUnicodeFont/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+}

Copied: ttf-tibetan-machine/repos/community-any/install (from rev 445240, ttf-tibetan-machine/trunk/install)
===================================================================
--- community-any/install	                        (rev 0)
+++ community-any/install	2019-03-28 10:20:11 UTC (rev 445241)
@@ -0,0 +1,13 @@
+post_install() {
+	fc-cache -s > /dev/null
+	mkfontscale usr/share/fonts/TTF
+	mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list