summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-05-13 13:04:59 +0300
committerCaleb Maclennan2020-05-13 13:04:59 +0300
commit900b64753ace738a1fd963a4e702b174b9f870c4 (patch)
treecf667c2682e92c67cf3250bbd949a6a6aa0e5de6
downloadaur-900b64753ace738a1fd963a4e702b174b9f870c4.tar.gz
Initial upload: fontbakery 0.7.24-1
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD42
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..04791433c89
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = fontbakery
+ pkgdesc = A command-line tool for checking the quality of font projects
+ pkgver = 0.7.24
+ pkgrel = 1
+ url = https://github.com/googlefonts/fontbakery
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python
+ depends = font-v
+ depends = ttfautohint
+ depends = ufolint
+ depends = python-beautifulsoup4
+ depends = python-defcon
+ depends = python-fonttools
+ depends = python-lxml
+ depends = python-fs
+ depends = python-opentype-sanitizer
+ depends = python-protobuf
+ depends = python-requests
+ depends = python-unicodedata2
+ source = fontbakery-0.7.24.tar.gz::https://github.com/googlefonts/fontbakery/archive/v0.7.24.tar.gz
+ sha256sums = b70d51d0065ded8527d847e284d62bc4390a15d4e603373572cc7fbfcf5aa910
+
+pkgname = fontbakery
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fae4239ae3f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+pkgname=fontbakery
+pkgver=0.7.24
+pkgrel=1
+pkgdesc='A command-line tool for checking the quality of font projects'
+arch=('any')
+url="https://github.com/googlefonts/$pkgname"
+license=('Apache')
+_py_deps=('beautifulsoup4'
+ 'defcon'
+ 'fonttools'
+ 'lxml'
+ 'fs' # optdepends of fonttols required for [ufo]
+ 'opentype-sanitizer'
+ 'protobuf'
+ 'requests'
+ 'unicodedata2') # optdepends of fonttools required for [unicode]
+depends=('python'
+ 'font-v'
+ 'ttfautohint'
+ 'ufolint')
+depends+=("${_py_deps[@]/#/python-}")
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('b70d51d0065ded8527d847e284d62bc4390a15d4e603373572cc7fbfcf5aa910')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ echo "version = '$pkgver'" > "Lib/$pkgname/_version.py"
+ sed -i -e '/use_scm_version/d' setup.py
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}