summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4cdb1b65942..2352d7d5e7a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,17 +12,20 @@ pkgbase = afdko-git
depends = python
depends = psautohint
depends = python-booleanoperations
+ depends = python-brotli
depends = python-cu2qu
+ depends = python-fontmath
depends = python-fontparts
+ depends = python-fontpens
depends = python-lxml
depends = python-mutatormath
depends = python-ufonormalizer
depends = python-ufoprocessor
+ depends = python-zopfli
provides = afdko
conflicts = afdko
source = git+https://github.com/adobe-type-tools/afdko.git
sha256sums = SKIP
- depends_x86_64 = lib32-glibc
pkgname = afdko-git
diff --git a/PKGBUILD b/PKGBUILD
index 6637ededbb0..9c759b6307b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,14 +8,14 @@ pkgdesc='Tools used by Adobe font developers for wrapping up PostScript fonts as
arch=('x86_64')
url="https://github.com/adobe-type-tools/${pkgname%-git}"
license=('custom')
-_py_deps=('booleanoperations' 'cu2qu' 'fontparts' 'lxml' 'mutatormath' 'ufonormalizer' 'ufoprocessor')
+# Note many of these are actually python-fonttools deps, but [community] package has them marked as optional
+_py_deps=('booleanoperations' 'brotli' 'cu2qu' 'fontmath' 'fontparts' 'fontpens' 'lxml' 'mutatormath' 'ufonormalizer' 'ufoprocessor' 'zopfli')
depends=('python' 'psautohint' "${_py_deps[@]/#/python-}")
-depends_x86_64=('lib32-glibc')
makedepends=('git' 'python-setuptools' 'python-wheel')
checkdepends=('python-pytest')
provides=("${pkgname%-git}")
-conflicts=("${pkgname%-git}")
-source=("git+https://github.com/adobe-type-tools/${pkgname%-git}.git")
+conflicts=($provides)
+source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
@@ -30,7 +30,7 @@ prepare () {
build() {
cd "${pkgname%-git}"
- python setup.py -q build
+ python setup.py build
}
check() {
@@ -40,6 +40,6 @@ check() {
package() {
cd "${pkgname%-git}"
- python setup.py -q install --root="$pkgdir" --optimize=1
- install -D -m644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ python setup.py -q install --root="$pkgdir" --optimize=1 --skip-build
+ install -D -m644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
}