# $Id: PKGBUILD 95242 2013-08-07 13:23:12Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=ttf-linux-libertine-g
_pkgname=LinLibertineG
pkgver=20120116
pkgrel=2
pkgdesc="Graphite port of Linux Libertine and Linux Biolinum fonts"
arch=('any')
url="http://numbertext.org/linux/"
license=('GPL' 'custom:OFL')
depends=('fontconfig' 'xorg-mkfontdir')
install=$pkgname.install
md5sums=('e7a384790b13c29113e22e596ade9687')
source=(http://www.numbertext.org/linux/${md5sums[0]}-$_pkgname-$pkgver.zip)

package() {
  cd "$srcdir/$_pkgname"

  install -dm755 "$pkgdir/usr/share/fonts/TTF"
  install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/"

  install -Dm644 OFL.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
  install -Dm644 LICENCE.txt $pkgdir/usr/share/licenses/$pkgname/README
}
