summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2021-09-01 17:57:17 +0300
committerCaleb Maclennan2021-09-01 17:57:17 +0300
commitbfe2d54403aa288a3c88d7faf6dc221f66a30ecf (patch)
treed3383bd5531ad61241049ffbb237762105db4a79
parente3fbaf5eb16acdbbb2aa6b63958ee2d83efa91c9 (diff)
downloadaur-bfe2d54403aa288a3c88d7faf6dc221f66a30ecf.tar.gz
upgpkg: ezra-bible-app 1.2.0-1
upstream release Work around upstream bugs
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 42b3232c883..231d271bc67 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,7 @@ pkgbase = ezra-bible-app
url = https://github.com/ezra-bible-app/ezra-bible-app
arch = x86_64
license = GPL3
+ makedepends = git
makedepends = jq
makedepends = moreutils
makedepends = node-gyp
diff --git a/PKGBUILD b/PKGBUILD
index 5b2ee0c22ee..6caeb49e6a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,8 @@ depends=(electron
provides=(ezra-project)
conflicts=(ezra-project)
replaces=(ezra-project)
-makedepends=(jq
+makedepends=(git # Upstream Issue: https://github.com/ezra-bible-app/ezra-bible-app/issues/388
+ jq
moreutils
node-gyp
node-prune
@@ -30,7 +31,9 @@ prepare() {
cd "$pkgname-$pkgver"
jq 'del(.dependencies["node-addon-api", "node-sword-interface"], .devDependencies["electron", "electron-osx-sign", "node-abi", "node-gyp", "pug-cli", "sequelize-cli"])' package.json |
sponge package.json
+ # Upstream Issue: https://github.com/ezra-bible-app/ezra-bible-app/issues/436
rm -rf node_modules/{node-addon-api,node-sword-interface}
+ sed -i -e '/sqlite3/s/\^//' package.json
npm install --cache "$srcdir/npm-cache" --no-audit --no-fund --ignore-scripts
}