# $Id: PKGBUILD 22203 2008-12-22 23:29:26Z 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.28
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=('10002ae52fbad207641d1fd2bf9bf4b8')

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
}