summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-07-14 17:03:34 +0000
committerAron Griffis <agriffis@gentoo.org>2004-07-14 17:03:34 +0000
commit5be0d25529cb96843f2c30bdfc137903209f0047 (patch)
tree8a9ed995de64e764394ea1c99764450b764c744b /media-fonts/arphicfonts
parentsync IUSE (missing), don't assign S=${WORKDIR}/${P}, trim trailing whitespace... (diff)
downloadgentoo-2-5be0d25529cb96843f2c30bdfc137903209f0047.tar.gz
gentoo-2-5be0d25529cb96843f2c30bdfc137903209f0047.tar.bz2
gentoo-2-5be0d25529cb96843f2c30bdfc137903209f0047.zip
sync IUSE (missing), update head/tail usage
Diffstat (limited to 'media-fonts/arphicfonts')
-rw-r--r--media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild b/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild
index 5ba4657788a2..6353c42dff61 100644
--- a/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild
+++ b/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild,v 1.13 2004/06/24 22:26:24 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/arphicfonts/arphicfonts-0.1-r1.ebuild,v 1.14 2004/07/14 17:03:34 agriffis Exp $
S=${WORKDIR}
DESCRIPTION="Arphic Fonts"
@@ -13,6 +13,7 @@ SRC_URI="ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/gkai00mp.ttf.gz
SLOT="0"
LICENSE="Arphic"
KEYWORDS="ia64 x86 ppc alpha sparc hppa amd64 mips"
+IUSE=""
DEPEND="virtual/x11
x11-misc/ttmkfdir"
@@ -22,8 +23,8 @@ src_install() {
insinto /usr/share/fonts/ttf/zh_TW
doins b*.ttf
if test -r /usr/share/fonts/ttf/zh_TW/fonts.scale; then
- tail +2 /usr/share/fonts/ttf/zh_TW/fonts.scale > tmp
- tail +2 ${FILESDIR}/TW-fonts.scale >> tmp
+ tail -n +2 /usr/share/fonts/ttf/zh_TW/fonts.scale > tmp
+ tail -n +2 ${FILESDIR}/TW-fonts.scale >> tmp
echo $(sort -u tmp | wc -l) > newfont.scale
sort -u tmp >> newfont.scale
newins newfont.scale fonts.scale
@@ -33,8 +34,8 @@ src_install() {
insinto /usr/share/fonts/ttf/zh_CN
doins g*.ttf
if test -r /usr/share/fonts/ttf/zh_CN/fonts.scale; then
- tail +2 /usr/share/fonts/ttf/zh_CN/fonts.scale > tmp
- tail +2 ${FILESDIR}/CN-fonts.scale >> tmp
+ tail -n +2 /usr/share/fonts/ttf/zh_CN/fonts.scale > tmp
+ tail -n +2 ${FILESDIR}/CN-fonts.scale >> tmp
echo $(sort -u tmp | wc -l) > newfont.scale
sort -u tmp >> newfont.scale
newins newfont.scale fonts.scale