diff options
author | Caleb Maclennan | 2020-05-09 10:58:46 +0300 |
---|---|---|
committer | Caleb Maclennan | 2020-05-09 10:58:46 +0300 |
commit | 9c7cb4a54b545e48e8adc91dc4ff89d927cadf10 (patch) | |
tree | dab3e53c6508f7267d2c0fc282379670b86b81da | |
download | aur-9c7cb4a54b545e48e8adc91dc4ff89d927cadf10.tar.gz |
Initial upload: statmake 0.2.2-1
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6ea8f66edec4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = statmake + pkgdesc = Dump, merge and compile Visual TrueType data in UFO3 with FontTools + pkgver = 0.2.2 + pkgrel = 1 + url = https://github.com/daltonmaag/statmake + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = python-attrs + depends = python-cattrs + depends = python-fonttools + depends = python-fs + source = https://files.pythonhosted.org/packages/source/s/statmake/statmake-0.2.2.tar.gz + sha256sums = 98f1db0dc2c8d1c39efb5173370adb948555f3294f760bdef572323d0534bd16 + +pkgname = statmake + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8ead51b4d64b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> + +pkgname=statmake +pkgver=0.2.2 +pkgrel=1 +pkgdesc='Dump, merge and compile Visual TrueType data in UFO3 with FontTools' +arch=('any') +url="https://github.com/daltonmaag/$pkgname" +license=('MIT') +_py_deps=('attrs' + 'cattrs' + 'fonttools' + 'fs') # optdepends of fonttools required for [ufo] +depends=('python' + "${_py_deps[@]/#/python-}") +makedepends=('python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") +sha256sums=('98f1db0dc2c8d1c39efb5173370adb948555f3294f760bdef572323d0534bd16') + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE +} |