# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=otf-proggy-vector
pkgver=1.1.5
pkgrel=0
pkgdesc="Monospaced font family for programming"
url="https://github.com/bluescan/proggyfonts"
arch="noarch"
options="!check"  # No test suite.
license="MIT AND Custom"
depends="fontconfig"
makedepends=""
source="https://github.com/bluescan/proggyfonts/archive/v$pkgver.zip"
builddir="$srcdir/proggyfonts-$pkgver"

package() {
	cd "$builddir"/ProggyVector
	mkdir -p "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
	for i in *.otf; do
		install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/OTF/${pkgname#*-}
	done
}

sha512sums="24a1506eeaa5c7707a177636d02bca4907e4015e48a94ef981b6489fe49c5b83d89ff21607e33ab1d982321ec66436f006f8b712fdbc6171b6070818b4b54155  v1.1.5.zip"