blob: 9c901aeb91539d484f46eeadbc0dc7959521957f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/urw-fonts/urw-fonts-2.1.ebuild,v 1.1 2004/05/15 16:59:05 usata Exp $
inherit eutils rpm
DESCRIPTION="free good quality fonts gpl'd by URW++"
HOMEPAGE=""
SRC_URI="mirror://gentoo/${P}-7.src.rpm"
#SRC_URI="ftp://rpmfind.net/linux/fedora/core/development/SRPMS/${P}-7.src.rpm"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
#DEPEND="app-arch/rpm2targz"
#DEPEND comes from rpm.eclass
S=${WORKDIR}
FONTPATH="/usr/share/fonts/${PN}"
src_unpack() {
rpm_src_unpack
tar -xjf ${P}.tar.bz2
}
src_install() {
insinto ${FONTPATH}
doins *.afm *.pfb fonts.*
if [ -x /usr/bin/fc-cache ] ; then
/usr/bin/fc-cache -f ${D}${FONTPATH}
fi
dodoc ChangeLog README* TODO
}
|