Date: Monday, June 30, 2014 @ 12:52:54 Author: bisson Revision: 215733
rebuild for mtree support Added: ttf-arphic-ukai/trunk/install (from rev 215704, ttf-arphic-ukai/trunk/ttf.install) Modified: ttf-arphic-ukai/trunk/PKGBUILD Deleted: ttf-arphic-ukai/trunk/ttf.install -------------+ PKGBUILD | 25 +++++++++++++------------ install | 15 +++++++++++++++ ttf.install | 15 --------------- 3 files changed, 28 insertions(+), 27 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-06-30 10:50:55 UTC (rev 215732) +++ PKGBUILD 2014-06-30 10:52:54 UTC (rev 215733) @@ -1,22 +1,23 @@ # $Id$ -# Maintainer: +# Maintainer: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Damir Perisa <damir.per...@bluewin.ch> # Contributor: Firmicus <francois.archlinux.org> -# Contributor: Damir Perisa <damir.per...@bluewin.ch> pkgname=ttf-arphic-ukai pkgver=0.2.20080216.1 -pkgrel=3 -pkgdesc="Kaiti (brush stroke) unicode TTFonts" +pkgrel=4 +pkgdesc='CJK Unicode font Kaiti style' +url='http://www.freedesktop.org/wiki/Software/CJKUnifonts' +license=('custom:Arphic_Public_License') arch=('any') -url="http://www.freedesktop.org/wiki/Software/CJKUnifonts" -license=('custom: Arphic Public_License') depends=('fontconfig' 'xorg-font-utils') -install=ttf.install -source=(http://us.archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_${pkgver}.orig.tar.gz) -md5sums=('4d3beb55db000bfedd18c9c7d6e631d8') +source=("http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_${pkgver}.orig.tar.gz") +sha1sums=('70f9489e7e15241c13d7eb6496a38736b49024e6') +install=install + package() { - cd ${srcdir} - install -D -m644 ukai.ttc ${pkgdir}/usr/share/fonts/TTF/ukai.ttc - install -D -m644 license/english/ARPHICPL.TXT ${pkgdir}/usr/share/licenses/${pkgname}/ARPHICPL.TXT + cd "${srcdir}" + install -D -m644 ukai.ttc "${pkgdir}"/usr/share/fonts/TTF/ukai.ttc + install -D -m644 license/english/ARPHICPL.TXT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } Copied: ttf-arphic-ukai/trunk/install (from rev 215704, ttf-arphic-ukai/trunk/ttf.install) =================================================================== --- install (rev 0) +++ install 2014-06-30 10:52:54 UTC (rev 215733) @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} Deleted: ttf.install =================================================================== --- ttf.install 2014-06-30 10:50:55 UTC (rev 215732) +++ ttf.install 2014-06-30 10:52:54 UTC (rev 215733) @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -f > /dev/null - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -}