# Maintainer: Balló György <ballogyor+arch at gmail dot com>

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

package() {
  cd $_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"
}
