# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=anonymous-pro
pkgver=1.003
_prev=1.002
pkgrel=0
pkgdesc="Fixed-width (monospace) font designed for programming"
url="https://www.marksimonson.com/fonts/view/anonymous-pro"
arch="noarch"
options="!check"  # No test suite.
license="OFL-1.1"
depends="fontconfig"
makedepends=""
subpackages=""
source="https://www.marksimonson.com/assets/content/fonts/AnonymousPro-$_prev.zip
	https://www.marksimonson.com/assets/content/fonts/AnonymousProMinus-$pkgver.zip"
builddir="$srcdir/AnonymousPro-1.002.001"

package() {
	cd "$srcdir"
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ AnonymousPro-1.002.001/*.ttf
	install -m644 -Dt "$pkgdir"/usr/share/fonts/X11/TTF/ AnonymousProMinus-$pkgver/*.ttf
}

sha512sums="7606d520ad79fbf4e13d676c1aff61b764dce74e170f8783b8e606f7907c4b8db0871e5568504d15aa23ca26e925ada4eb6b60fcf27171dccee0d3d32d9a92a1  AnonymousPro-1.002.zip
1c81c449edb80cdcaf10c9779a3b5b2ea09ce9d0c457f620384cb0486cb1987449ba5c5b57de4f8e01b7d3c4fd54e7ec45baf02ab75232b8c29c36381697baf9  AnonymousProMinus-1.003.zip"