# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fira-code
pkgver=1.206
pkgrel=0
pkgdesc="Monospace typeface with ligatures for programming"
url="https://patreon.com/tonsky"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
subpackages=""
source="https://github.com/tonsky/FiraCode/releases/download/$pkgver/FiraCode_$pkgver.zip"
builddir="$srcdir"/otf

package() {
	cd "$builddir"
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ *.otf
}

sha512sums="56451c338a76fabb15527c1ac247f61f3e8a3ef98d8428bf7a5bfcf506a12ce1cbf6075a1435cbf936800b38ebe5554f4c8becc62f596c23097fdbaaa30f606b  FiraCode_1.206.zip"