Magellan Linux

Annotation of /branches/R11-unstable/extras/font-dejavu-ttf/font-dejavu-ttf-2.33-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8248 - (hide annotations) (download)
Wed Jul 13 15:06:48 2011 UTC (12 years, 10 months ago) by niro
Original Path: branches/magellan-next/extras/font-dejavu-ttf/font-dejavu-ttf-2.33-r1.smage2
File size: 771 byte(s)
auto added: ver bump to 2.33-r1
1 niro 8248 # $Id$
2    
3     PNAME="font-dejavu-ttf"
4     PVER="2.33"
5     PBUILD="r1"
6    
7     PCATEGORIE="media-fonts"
8    
9     DESCRIPTION="A font family based on the Vera Fonts."
10     HOMEPAGE="http://dejavu-fonts.org/"
11    
12     # use fontsetup from xorg
13     sminclude xorg mtools
14    
15     SRCFILE="dejavu-fonts-ttf-${PVER}.tar.bz2"
16     SRCDIR="${BUILDDIR}/dejavu-fonts-ttf-${PVER}"
17    
18     SRC_URI=(
19     sourceforge://dejavu/${SRCFILE}
20     mirror://${PNAME}/${SRCFILE}
21     )
22    
23     UP2DATE="updatecmd_sourceforge ${PNAME}"
24    
25     # do nothing here
26     src_compile() { return 0; }
27    
28     src_install()
29     {
30     cd ${SRCDIR}
31     minstalldir /usr/share/fonts/TTF || die
32     minstallfile ttf/\*.ttf /usr/share/fonts/TTF/ || die
33    
34     minstalldir /etc/fonts/conf.avail || die
35     minstallfile fontconfig/\*.conf /etc/fonts/conf.avail/ || die
36    
37     minstalldocs AUTHORS BUGS *.txt LICENSE NEWS README || die
38     }