Date: Friday, September 17, 2010 @ 14:01:27
  Author: bisson
Revision: 90848

sazanami is already listed in 65-nonlatin.conf

Modified:
  ttf-sazanami/trunk/PKGBUILD
  ttf-sazanami/trunk/install
Deleted:
  ttf-sazanami/trunk/sazanami.conf

---------------+
 PKGBUILD      |    9 +++------
 install       |    3 +--
 sazanami.conf |   16 ----------------
 3 files changed, 4 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-09-17 16:14:43 UTC (rev 90847)
+++ PKGBUILD    2010-09-17 18:01:27 UTC (rev 90848)
@@ -3,16 +3,14 @@
 
 pkgname=ttf-sazanami
 pkgver=20040629
-pkgrel=5
+pkgrel=6
 pkgdesc='Japanese TrueType fonts'
 arch=('any')
 url='http://wiki.fdiary.net/font/?sazanami'
 license=('BSD')
 depends=('fontconfig' 'xorg-fonts-encodings')
-source=("http://osdn.dl.sourceforge.jp/efont/10087/sazanami-${pkgver}.tar.bz2";
-        'sazanami.conf')
-sha1sums=('a6e558f49de8ab9884d92327905ce45698ca5429'
-          '613498b7ee4c8350bd6b9389067b63ed033a5a50')
+source=("http://osdn.dl.sourceforge.jp/efont/10087/sazanami-${pkgver}.tar.bz2";)
+sha1sums=('a6e558f49de8ab9884d92327905ce45698ca5429')
 
 install=install
 
@@ -21,6 +19,5 @@
        install -d "${pkgdir}"/usr/share/{fonts/TTF,licenses/"${pkgname}"}
 
        install *.ttf "${pkgdir}/usr/share/fonts/TTF/"
-       install -D ../sazanami.conf 
"${pkgdir}/etc/fonts/conf.avail/65-sazanami.conf"
        iconv -f EUC-JP -t UTF-8 README > 
"${pkgdir}/usr/share/licenses/${pkgname}/README"
 }

Modified: install
===================================================================
--- install     2010-09-17 16:14:43 UTC (rev 90847)
+++ install     2010-09-17 18:01:27 UTC (rev 90848)
@@ -1,15 +1,14 @@
 post_install() {
-       ln -s /etc/fonts/conf.avail/65-sazanami.conf /etc/fonts/conf.d/
        post_upgrade
 }
 
 post_upgrade() {
+       rm -f /etc/fonts/conf.d/65-sazanami.conf
        fc-cache -fs
        mkfontscale usr/share/fonts/TTF
        mkfontdir usr/share/fonts/TTF
 }
 
 post_remove() {
-       rm /etc/fonts/conf.d/65-sazanami.conf
        post_upgrade
 }

Deleted: sazanami.conf
===================================================================
--- sazanami.conf       2010-09-17 16:14:43 UTC (rev 90847)
+++ sazanami.conf       2010-09-17 18:01:27 UTC (rev 90848)
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig>
-       <alias>
-               <family>serif</family>
-               <prefer>
-                       <family>Sazanami Mincho</family>
-               </prefer>
-       </alias>
-       <alias>
-               <family>sans-serif</family>
-               <prefer>
-                       <family>Sazanami Gothic</family>
-               </prefer>
-       </alias>
-</fontconfig>

Reply via email to