From 1b3fc263aecd931f42f5bfd1bebc8debe210bd35 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 18 Nov 2007 14:03:13 +0000 Subject: Make ARCH=noarch ; rename the fontconfig file to have a .conf extension --- ttf-arphic-uming/build/ttf-arphic-uming.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'ttf-arphic-uming') diff --git a/ttf-arphic-uming/build/ttf-arphic-uming.SlackBuild b/ttf-arphic-uming/build/ttf-arphic-uming.SlackBuild index fb9afba4..8233cc07 100755 --- a/ttf-arphic-uming/build/ttf-arphic-uming.SlackBuild +++ b/ttf-arphic-uming/build/ttf-arphic-uming.SlackBuild @@ -32,6 +32,9 @@ # Changelog: # 0.1.20060928-1: 07/Nov/2007 by Eric Hameleers # * Initial build. +# 0.1.20060928-2: 18/Nov/2007 by Eric Hameleers +# * Set ARCH to 'noarch' since a font is archtecture- +# independent. # # Run 'sh ttf-arphic-uming.SlackBuild --cleanup' to build a Slackware package. # The package (.tgz) plus descriptive .txt file are created in /tmp . @@ -43,8 +46,8 @@ PRGNAM=ttf-arphic-uming VERSION=${VERSION:-0.1.20060928} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +ARCH=noarch +BUILD=${BUILD:-2} DOCS="CONTRIBUTERS README* license" @@ -138,9 +141,9 @@ cp uming.ttf $PKG$FONTDIR/ # Add the fontconfig file: mkdir -p $PKG/etc/fonts/conf.{d,avail} -cp ttf-arphic-uming $PKG/etc/fonts/conf.avail/20-ttf-arphic-uming +cp ttf-arphic-uming $PKG/etc/fonts/conf.avail/20-ttf-arphic-uming.conf ( cd $PKG/etc/fonts/conf.d && \ - ln -sf ../conf.avail/20-ttf-arphic-uming + ln -sf ../conf.avail/20-ttf-arphic-uming.conf ) # Post-install script: -- cgit v1.2.3