summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f904d174fec8db1e9e973dee81bd2627baf3ce3 (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>

pkgname=python-ufoprocessor
_name=ufoProcessor
pkgver=1.9.0
pkgrel=2
pkgdesc='library to process and generate UFO files based on fontTools.designSpaceLib'
arch=('any')
url="https://github.com/LettError/$_name"
license=('MIT')
depends=('python-mutatormath' 'python-fontparts')
makedepends=('python-setuptools' 'python-wheel')
source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.zip")
sha256sums=('baa8bd9bbbb11ce004647eb1906105f4d5bfdbc1b3388ca4d36fab57950a415b')

build() {
	cd "$_name-$pkgver"
	python setup.py build
}

package() {
	cd "$_name-$pkgver"
	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
	install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}