# Description: Monospace font for pretty code listings and for the terminal
# URL: https://www.google.com/fonts/specimen/Inconsolata
# Maintainer: Tim Biermann, tbier at posteo dot de

name=ttf-inconsolata
version=3.000
release=2
source=(https://github.com/googlefonts/Inconsolata/archive/v$version/$name-$version.tar.gz
  75-ttf-inconsolata.conf)

build() {
  find Inconsolata-$version/fonts/ttf \
    -iname "*.ttf" \
    -execdir install -Dm644 {} $PKG/usr/share/fonts/TTF/Inconsolata/{} \;

  install -Dm644 $SRC/75-ttf-inconsolata.conf $PKG/usr/share/fontconfig/conf.avail/75-ttf-inconsolata.conf
}
