aboutsummaryrefslogtreecommitdiffstats
path: root/community/psautohint/APKBUILD
blob: f095687dafb14c02a37359764ba88fb71b7ec1bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=psautohint
pkgver=2.2.0
pkgrel=0
pkgdesc="standalone version of AFDKO's autohinter"
url="https://github.com/adobe-type-tools/psautohint"
arch="all !s390x !mips !mips64" # ufo2ft
license="Apache-2.0"
depends="python3 py3-fonttools py3-lxml py3-statmake py3-ufo2ft"
makedepends="py3-setuptools python3-dev"
source="https://github.com/adobe-type-tools/psautohint/releases/download/v$pkgver/psautohint-$pkgver.zip"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="12b0b810e44fbc0c32a3e3826c782c4e5444dab1f01773a84692e65f9d0c2042716cb711c976744d9e26910499493f2c55caec22534a79a85eb5e8b781a857cf  psautohint-2.2.0.zip"