aboutsummaryrefslogtreecommitdiffstats
path: root/community/psautohint/APKBUILD
blob: d4a2730c611f7a70ff5e6966d43ab67a37044cfe (plain)
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.0.0
pkgrel=0
pkgdesc="A standalone version of AFDKO's autohinter"
url="https://github.com/adobe-type-tools/psautohint"
arch="all !s390x" # 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="26f8c210f41bb4ad0c6f6b6f55713aed643dddd11c6754c67af57cfcac40f20634fd27a7ab62bc701c348e0ed183959773c925b76b411c3e0e4b41c18b6731dd  psautohint-2.0.0.zip"