# Maintainer: Jesus E. pkgname=ttf-liberation pkgver=2.1.4 pkgrel=2 pkgdesc="A font family which aims at metric compatibility with Arial, Times New Roman, and Courier New" arch=('any') license=('OFL-1.1') url='https://github.com/liberationfonts/liberation-fonts' makedepends=('fontforge' 'python-fonttools') provides=('ttf-font') source=("https://github.com/liberationfonts/liberation-fonts/archive/$pkgver/liberation-fonts-$pkgver.tar.gz") sha512sums=('4a118369f052fc0c31b682002e31a8dbe714fb62a6e625988744b1486cce319fca71b2c5019087b5995cb88944faccc999194856fb87c6822d3dc059c7740162') build() { cd liberation-fonts-$pkgver make } package() { cd liberation-fonts-$pkgver install -Dm644 -t "$pkgdir/usr/share/fonts/${pkgname#ttf-}" \ liberation-fonts-ttf-$pkgver/*.ttf # install license install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE }