[arch-commits] Commit in (5 files)
Gaetan Bisson
bisson at archlinux.org
Sun Sep 26 15:35:45 UTC 2010
Date: Sunday, September 26, 2010 @ 11:35:45
Author: bisson
Revision: 91329
korean truetype font
Added:
ttf-baekmuk/
ttf-baekmuk/repos/
ttf-baekmuk/trunk/
ttf-baekmuk/trunk/PKGBUILD
ttf-baekmuk/trunk/install
----------+
PKGBUILD | 23 +++++++++++++++++++++++
install | 13 +++++++++++++
2 files changed, 36 insertions(+)
Added: ttf-baekmuk/trunk/PKGBUILD
===================================================================
--- ttf-baekmuk/trunk/PKGBUILD (rev 0)
+++ ttf-baekmuk/trunk/PKGBUILD 2010-09-26 15:35:45 UTC (rev 91329)
@@ -0,0 +1,23 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Darwin M. Bautista <djclue917 at gmail.com>
+
+pkgname=ttf-baekmuk
+pkgver=2.2
+pkgrel=5
+pkgdesc='Korean TrueType fonts'
+arch=('any')
+url='http://kldp.net/projects/baekmuk/'
+license=('BSD')
+depends=('fontconfig' 'xorg-fonts-encodings')
+source=("http://kldp.net/frs/download.php/1429/baekmuk-ttf-${pkgver}.tar.gz")
+sha1sums=('afdee34f700007de6ea87b43c92a88b7385ba65b')
+
+install=install
+
+build() {
+ cd "${srcdir}/baekmuk-ttf-${pkgver}/ttf"
+ install -d "${pkgdir}"/usr/share/{fonts/TTF,licenses/"${pkgname}"}
+
+ for i in *.ttf; do install "$i" "${pkgdir}/usr/share/fonts/TTF/baekmuk-$i"; done
+ install ../COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
Property changes on: ttf-baekmuk/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
Added: ttf-baekmuk/trunk/install
===================================================================
--- ttf-baekmuk/trunk/install (rev 0)
+++ ttf-baekmuk/trunk/install 2010-09-26 15:35:45 UTC (rev 91329)
@@ -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
+}
More information about the arch-commits
mailing list