[arch-commits] Commit in (6 files)
Gaëtan Bisson
bisson at archlinux.org
Thu Mar 28 10:17:31 UTC 2019
Date: Thursday, March 28, 2019 @ 10:17:30
Author: bisson
Revision: 445234
extra2community: Moving ttf-hannom from extra to community
Added:
ttf-hannom/
ttf-hannom/repos/
ttf-hannom/trunk/
ttf-hannom/trunk/PKGBUILD
ttf-hannom/trunk/README
ttf-hannom/trunk/install
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
README | 7 +++++++
install | 13 +++++++++++++
3 files changed, 44 insertions(+)
Added: ttf-hannom/trunk/PKGBUILD
===================================================================
--- ttf-hannom/trunk/PKGBUILD (rev 0)
+++ ttf-hannom/trunk/PKGBUILD 2019-03-28 10:17:30 UTC (rev 445234)
@@ -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"
+}
Property changes on: ttf-hannom/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: ttf-hannom/trunk/README
===================================================================
--- ttf-hannom/trunk/README (rev 0)
+++ ttf-hannom/trunk/README 2019-03-28 10:17:30 UTC (rev 445234)
@@ -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.
Added: ttf-hannom/trunk/install
===================================================================
--- ttf-hannom/trunk/install (rev 0)
+++ ttf-hannom/trunk/install 2019-03-28 10:17:30 UTC (rev 445234)
@@ -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