# Maintainer: Caleb Maclennan pkgname=gftools pkgver=0.4.2 pkgrel=1 pkgdesc='Misc tools for working with the Google Fonts library' arch=('any') url="https://github.com/googlefonts/$pkgname" license=('Apache') _py_deps=('fonttools' 'fs' # optdepends of fonttols required for [ufo] 'protobuf' 'pygithub' 'vttlib') depends=('absl-py' 'python' "${_py_deps[@]/#/python-}") makedepends=('python-setuptools') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") sha256sums=('c1192f1765c88086ebe1b66ef3e73bd75899917f65b86515426ab2bae1fdcaea') build() { cd "$pkgname-$pkgver" python setup.py build } package() { cd "$pkgname-$pkgver" python setup.py install --root="$pkgdir" --optimize=1 --skip-build }