Date: Monday, February 6, 2012 @ 02:07:47 Author: bisson Revision: 149180
signed rebuild for free Added: ttf-arphic-uming/trunk/install (from rev 149179, ttf-arphic-uming/trunk/ttf.install) Modified: ttf-arphic-uming/trunk/PKGBUILD Deleted: ttf-arphic-uming/trunk/ttf.install -------------+ PKGBUILD | 27 ++++++++++++++------------- install | 15 +++++++++++++++ ttf.install | 15 --------------- 3 files changed, 29 insertions(+), 28 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-06 06:31:48 UTC (rev 149179) +++ PKGBUILD 2012-02-06 07:07:47 UTC (rev 149180) @@ -1,22 +1,23 @@ # $Id$ # Contributor: Damir Perisa <damir.per...@bluewin.ch> -# Maintainer: Firmicus <francois.archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> - pkgname=ttf-arphic-uming pkgver=0.2.20080216.1 -pkgrel=2 -pkgdesc="Mingti (printed) unicode TTFonts" +pkgrel=3 +pkgdesc='CJK Unicode font Ming 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-uming/ttf-arphic-uming_${pkgver}.orig.tar.gz) -md5sums=('d219fcaf953f3eb1889399955a00379f') +depends=('fontconfig' 'xorg-font-utils') +source=("http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_${pkgver}.orig.tar.gz") +sha1sums=('d6b11cc84142364c66d17a0f02fdffbc1b98cedf') +install=install + build() { - cd ${srcdir} - install -D -m644 uming.ttc ${pkgdir}/usr/share/fonts/TTF/uming.ttc - install -D -m644 license/english/ARPHICPL.TXT ${pkgdir}/usr/share/licenses/${pkgname}/ARPHICPL.TXT + cd "${srcdir}" + install -Dm644 uming.ttc "${pkgdir}"/usr/share/fonts/TTF/uming.ttc + install -Dm644 license/english/ARPHICPL.TXT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" } Copied: ttf-arphic-uming/trunk/install (from rev 149179, ttf-arphic-uming/trunk/ttf.install) =================================================================== --- install (rev 0) +++ install 2012-02-06 07:07:47 UTC (rev 149180) @@ -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 2012-02-06 06:31:48 UTC (rev 149179) +++ ttf.install 2012-02-06 07:07:47 UTC (rev 149180) @@ -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 -}