# $Id: PKGBUILD 7356 2008-07-31 01:07:11Z alexanderf $
# Maintainer: Alexander Fehr <pizzapunk gmail com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Michal Krenek <mikos@sg1.cz>

pkgname=ttf-dejavu
pkgver=2.26
pkgrel=1
pkgdesc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
arch=('i686' 'x86_64')
url="http://dejavu.sourceforge.net/"
license=('custom')
depends=('fontconfig' 'xorg-fonts-encodings')
install=ttf-dejavu.install
source=(http://downloads.sourceforge.net/dejavu/dejavu-fonts-ttf-$pkgver.tar.bz2)
md5sums=('bff450e8c1b3c9a3f38294ac44d81adc')

build() {
  cd "$srcdir/dejavu-fonts-ttf-$pkgver"

  mkdir -p "$pkgdir/usr/share/fonts/TTF" || return 1
  install -m644 ttf/*.ttf "$pkgdir/usr/share/fonts/TTF" || return 1

  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/ttf-dejavu/LICENSE" || return 1
}