Date: Sunday, September 26, 2010 @ 12:08:39 Author: bisson Revision: 91349
korean truetype font Added: ttf-hannom/ ttf-hannom/repos/ ttf-hannom/trunk/ ttf-hannom/trunk/PKGBUILD ttf-hannom/trunk/README ttf-hannom/trunk/install ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ README | 7 +++++++ install | 13 +++++++++++++ 3 files changed, 45 insertions(+) Added: ttf-hannom/trunk/PKGBUILD =================================================================== --- ttf-hannom/trunk/PKGBUILD (rev 0) +++ ttf-hannom/trunk/PKGBUILD 2010-09-26 16:08:39 UTC (rev 91349) @@ -0,0 +1,25 @@ +# Maintainer: Gaetan Bisson <[email protected]> +# Contributor: Willey Chen <[email protected]> + +pkgname=ttf-hannom +pkgver=2005 +pkgrel=1 +pkgdesc='Chinese and Vietnamese TrueType font' +arch=('any') +url='http://vietunicode.sourceforge.net/fonts/fonts_hannom.html' +license=('custom:non-profit') +depends=('fontconfig' 'xorg-fonts-encodings') +source=("http://downloads.sourceforge.net/project/vietunicode/hannom/hannom%20v$pkgver/hannomH.zip" + 'README') +sha1sums=('1a207b5ade4984521fa476f50c979a4674f48079' + '13e207063602d498a1b6949505bb3ef3d47f6f03') + +install=install + +build() { + cd "$srcdir" + install -d "${pkgdir}"/usr/share/{fonts/TTF,licenses/"${pkgname}"} + + install *.ttf "${pkgdir}/usr/share/fonts/TTF/" + install README "${pkgdir}/usr/share/licenses/${pkgname}/" +} Added: ttf-hannom/trunk/README =================================================================== --- ttf-hannom/trunk/README (rev 0) +++ ttf-hannom/trunk/README 2010-09-26 16:08:39 UTC (rev 91349) @@ -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 2010-09-26 16:08:39 UTC (rev 91349) @@ -0,0 +1,13 @@ +post_install() { + post_upgrade +} + +post_upgrade() { + fc-cache -fs + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF +} + +post_remove() { + post_upgrade +}
