Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25229 - (show annotations) (download)
Tue Nov 25 03:15:50 2014 UTC (9 years, 5 months ago) by niro
File size: 765 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="font-dejavu-ttf"
4 PVER="2.33"
5 PBUILD="r1"
6
7 PCAT="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 }