diff options
author | Caleb Maclennan | 2020-07-22 18:27:11 +0300 |
---|---|---|
committer | Caleb Maclennan | 2020-07-22 18:27:11 +0300 |
commit | b79860609b9c9fef41505144d089450aded4a871 (patch) | |
tree | d6d839b25195892e04a7c38c0b7c90f4643c936f | |
download | aur-b79860609b9c9fef41505144d089450aded4a871.tar.gz |
Initial upload: python-fontdoctools 1.1-1
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..16f8b34ddbc1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-fontdoctools + pkgdesc = tools that help in documenting and reviewing the design or the engineering of fonts + pkgver = 1.1 + pkgrel = 1 + url = https://bitbucket.org/LindenbergSW/fontdoctools + arch = any + license = MIT + makedepends = python-setuptools + depends = python + depends = python-fonttools + provides = dottedcircleshaper + provides = glyphplotter + provides = glyhpsandwich + provides = glyphshaper + provides = roentgen + source = python-fontdoctools-1.1.zip::https://bitbucket.org/LindenbergSW/fontdoctools/get/5f2880db5e08.zip + sha256sums = ea86f79b851dc28f62c2ec3ca5824a7906ed97688b96b0170de4f1a5b455be7c + +pkgname = python-fontdoctools + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a3007bebee40 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> + +_pipname=fontdoctools +pkgname=python-$_pipname +_sha=5f2880db5e08 +pkgver=1.1 +pkgrel=1 +pkgdesc='tools that help in documenting and reviewing the design or the engineering of fonts' +arch=('any') +_namespace=LindenbergSW +url="https://bitbucket.org/$_namespace/$_pipname" +license=('MIT') +_py_deps=('fonttools') +depends=('python' + "${_py_deps[@]/#/python-}") +provides=('dottedcircleshaper' 'glyphplotter' 'glyhpsandwich' 'glyphshaper' 'roentgen') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.zip::$url/get/$_sha.zip") +sha256sums=('ea86f79b851dc28f62c2ec3ca5824a7906ed97688b96b0170de4f1a5b455be7c') + +build() { + cd "$_namespace-$_pipname-$_sha" + python setup.py build +} + +package() { + cd "$_namespace-$_pipname-$_sha" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build +} |