# Maintainer: Johannes Maibaum # Maintainer: Caleb Maclennan pkgname=otf-libertinus _pkgname="${pkgname#*-}" pkgver=6.8 pkgrel=1 pkgdesc='The Libertinus font family. A fork of the Linux Libertine and Linux Biolinum fonts with bugfixes and an OpenType math companion.' depends=('fontconfig') conflicts=('otf-libertine-git' 'otf-libertinus-git') arch=('any') license=('custom: OFL') url='https://github.com/libertinus-fonts/libertinus' source=("https://github.com/libertinus-fonts/$_pkgname/releases/download/v$pkgver/$_pkgname-$pkgver.zip") sha256sums=('dd6791fcf6a8a7cb4348d037ae17eaa81efd8a2c7cc08ab0f0dc2bccc3d84761') package() { cd "${_pkgname^}-$pkgver" find . -name '*.otf' -execdir install -Dm644 {} "$pkgdir"/usr/share/fonts/OTF/{} \; install -Dm644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname/OFL" }