aboutsummaryrefslogtreecommitdiffstats
path: root/community/psautohint/APKBUILD
blob: dbeebbb56e7d3698b4522fae4e8e1cf0ac3ce5d5 (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.1.2
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="1f23171c84057e70c1c7ed68d479d9ee5f298c4edbf6906206ca3553299f08021df025ab52261387fba809f3e0d68625e0c92eeb632d644122d986179a29e0ae  psautohint-2.1.2.zip"