summaryrefslogtreecommitdiff
path: root/x11-fonts-dejavu/Pkgfile
blob: d0948ed5cfc3fea2ab4c91deef4b8436d721c0c2 (plain)
    1 # URL: http://dejavu.sourceforge.net
    2 # Description: A font family based on the Bitstream Vera Fonts
    3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
    4 
    5 name=x11-fonts-dejavu
    6 version=2.30
    7 release=2
    8 source=(http://dfn.dl.sourceforge.net/sourceforge/dejavu/dejavu-fonts-ttf-$version.tar.bz2)
    9 
   10 build() {
   11     cd dejavu-fonts-ttf-$version
   12     mkdir -p $PKG/usr/share/fonts/dejavu $PKG/etc/fonts/conf.{d,avail}
   13     install -o root -g root -m 0644 ttf/*.ttf \
   14         $PKG/usr/share/fonts/dejavu/
   15 
   16     cd fontconfig
   17 
   18     install -o root -g root -m644 *.conf \
   19         $PKG/etc/fonts/conf.avail/
   20 
   21     for x in *.conf; do
   22         ln -s ../conf.avail/$x $PKG/etc/fonts/conf.d/
   23     done
   24 }

Generated by cgit