Annotation of /trunk/extras/font-dejavu-ttf/font-dejavu-ttf-2.33-r1.smage2
Parent Directory | Revision Log
Revision 28377 -
(hide annotations)
(download)
Wed Aug 24 08:04:14 2016 UTC (8 years, 1 month ago) by niro
File size: 765 byte(s)
Wed Aug 24 08:04:14 2016 UTC (8 years, 1 month ago) by niro
File size: 765 byte(s)
-fixed cpan author
1 | niro | 8248 | # $Id$ |
2 | |||
3 | PNAME="font-dejavu-ttf" | ||
4 | PVER="2.33" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | niro | 10626 | PCAT="media-fonts" |
8 | niro | 8248 | |
9 | DESCRIPTION="A font family based on the Vera Fonts." | ||
10 | HOMEPAGE="http://dejavu-fonts.org/" | ||
11 | |||
12 | niro | 28377 | SRCFILE="dejavu-fonts-ttf-${PVER}.tar.bz2" |
13 | SRCDIR="${BUILDDIR}/dejavu-fonts-ttf-${PVER}" | ||
14 | |||
15 | niro | 8248 | # use fontsetup from xorg |
16 | sminclude xorg mtools | ||
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 | } |