summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2022-09-02 12:28:50 +0300
committerCaleb Maclennan2022-09-02 12:28:50 +0300
commit81ac33c32b1e6c406016ab3e848c47aa2ccdd7ec (patch)
tree383c9a888bac9365f0e4295515d921ac2b45cf32
parent916d91a6d7c53b7cbecec4f6b373621ae412d9f3 (diff)
downloadaur-81ac33c32b1e6c406016ab3e848c47aa2ccdd7ec.tar.gz
upgpkg: nanoemoji 0.14.3-2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b8e8417a3c91..0330fcff0b68 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nanoemoji
pkgdesc = A wee tool to build color fonts
pkgver = 0.14.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/googlefonts/
arch = any
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 82aee4b034d7..d9ab5c06ce18 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=nanoemoji
pkgver=0.14.3
-pkgrel=1
+pkgrel=2
pkgdesc='A wee tool to build color fonts'
arch=(any)
url="https://github.com/googlefonts/$_pkgname"
@@ -31,6 +31,11 @@ _archive="$pkgname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
sha256sums=('1b793aa626ee10c7699f6679ca8199691d6a6007ee07af5e92956c3e65dd1547')
+prepare() {
+ cd "$_archive"
+ sed -i -e 's/^from ninja //' src/nanoemoji/ninja.py
+}
+
build() {
cd "$_archive"
python -m build -wn