# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=fira-code
pkgver=2
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() {
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/OTF/ *.otf
}

sha512sums="c6bc3229acab8874e8d0f4709d7ed25cb9153996d85cba5c19aa6a472d1c22e9d2c1e9b4d580787f212f87e9aaa4059503ab38dc675fe914fc0537fbf91d7774  FiraCode_2.zip"