[arch-commits] Commit in ttf-hannom/repos (4 files)

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


    Date: Thursday, March 28, 2019 @ 10:17:47
  Author: bisson
Revision: 445235

archrelease: copy trunk to community-any

Added:
  ttf-hannom/repos/community-any/
  ttf-hannom/repos/community-any/PKGBUILD
    (from rev 445234, ttf-hannom/trunk/PKGBUILD)
  ttf-hannom/repos/community-any/README
    (from rev 445234, ttf-hannom/trunk/README)
  ttf-hannom/repos/community-any/install
    (from rev 445234, ttf-hannom/trunk/install)

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 README   |    7 +++++++
 install  |   13 +++++++++++++
 3 files changed, 44 insertions(+)

Copied: ttf-hannom/repos/community-any/PKGBUILD (from rev 445234, ttf-hannom/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-03-28 10:17:47 UTC (rev 445235)
@@ -0,0 +1,24 @@
+# Contributor: Willey Chen <chwilley at gmail.com>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=ttf-hannom
+pkgver=2005
+pkgrel=5
+pkgdesc='Chinese and Vietnamese TrueType fonts'
+url='http://vietunicode.sourceforge.net/fonts/fonts_hannom.html'
+license=('custom:non-profit')
+arch=('any')
+depends=('fontconfig' 'xorg-fonts-encodings')
+source=("https://downloads.sourceforge.net/project/vietunicode/hannom/hannom%20v${pkgver}/hannomH.zip"
+        'README')
+sha256sums=('428a31ff62e26dc33080789f8d49c39ac529dbfdbcfd50825f78cbd0903a3936'
+            'df3e54959e5295b2d13857cf75a3f04817b280b2c4e227ca887394ca6d8b0bb7')
+
+install=install
+
+package() {
+	cd "${srcdir}"
+	install -d "${pkgdir}"/usr/share/fonts/TTF
+	install -m644 *.ttf "${pkgdir}/usr/share/fonts/TTF"
+	install -Dm644 README "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}

Copied: ttf-hannom/repos/community-any/README (from rev 445234, ttf-hannom/trunk/README)
===================================================================
--- community-any/README	                        (rev 0)
+++ community-any/README	2019-03-28 10:17:47 UTC (rev 445235)
@@ -0,0 +1,7 @@
+Complete licensing information is embedded in the TTF files; most importantly:
+
+	Chỉ được dùng riêng, tuyệt đối không được dùng để kinh doanh & vụ lợi
+
+Loose translation:
+
+	For non-commercial, non-profit, personal use only.

Copied: ttf-hannom/repos/community-any/install (from rev 445234, ttf-hannom/trunk/install)
===================================================================
--- community-any/install	                        (rev 0)
+++ community-any/install	2019-03-28 10:17:47 UTC (rev 445235)
@@ -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