summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2021-09-01 16:00:00 +0300
committerCaleb Maclennan2021-09-01 16:00:00 +0300
commite3fbaf5eb16acdbbb2aa6b63958ee2d83efa91c9 (patch)
tree0d1ce4f0190bd2e0bcda9c77dcd7100a47d90f52
parent33a37174344ffe16b0e5270af28b4a34403f9707 (diff)
downloadaur-e3fbaf5eb16acdbbb2aa6b63958ee2d83efa91c9.tar.gz
upgpkg: ezra-bible-app-git 1.2.0.r4.gba4b665-1
upgpkg: ezra-bible-app 1.2.0-1 upstream release Normalize and work and updating (not finished yet)
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD90
2 files changed, 51 insertions, 52 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0c881d3f39f..42b3232c883 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ezra-bible-app
pkgdesc = A user-friendly Bible study tool focussing on topical study based on keywords/tags
- pkgver = 1.0.0
- pkgrel = 4
+ pkgver = 1.2.0
+ pkgrel = 1
url = https://github.com/ezra-bible-app/ezra-bible-app
arch = x86_64
license = GPL3
@@ -9,9 +9,9 @@ pkgbase = ezra-bible-app
makedepends = moreutils
makedepends = node-gyp
makedepends = node-prune
- makedepends = nodejs-addon-api>=3.2.0-2
+ makedepends = nodejs-addon-api
makedepends = nodejs-pug-cli
- makedepends = nodejs-sword-interface>=0.225.0
+ makedepends = nodejs-sword-interface
makedepends = npm
depends = electron
depends = icu
@@ -19,10 +19,9 @@ pkgbase = ezra-bible-app
provides = ezra-project
conflicts = ezra-project
replaces = ezra-project
- source = ezra-bible-app-1.0.0.tar.gz::https://github.com/ezra-bible-app/ezra-bible-app/archive/1.0.0.tar.gz
+ source = ezra-bible-app-1.2.0.tar.gz::https://github.com/ezra-bible-app/ezra-bible-app/archive/1.2.0.tar.gz
source = ezra-bible-app.sh
- sha256sums = b2adcf8ad9f60832b5f773ea138242eee6942162a04a8381d33b8a3d5f477c02
+ sha256sums = 11fede4cdc9654904efc8f3f515a9dc8eec86178c1eb29fddf38738081a6e348
sha256sums = e135a382166ce27cf1348750767e157b2d292d4a189940f0fa874af29bc6540b
pkgname = ezra-bible-app
-
diff --git a/PKGBUILD b/PKGBUILD
index 19ca0bf9cf3..5b2ee0c22ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,63 +1,63 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=ezra-bible-app
-pkgver=1.0.0
-pkgrel=4
+pkgver=1.2.0
+pkgrel=1
pkgdesc='A user-friendly Bible study tool focussing on topical study based on keywords/tags'
arch=('x86_64')
url="https://github.com/$pkgname/$pkgname"
-license=('GPL3')
-depends=('electron'
- 'icu'
- 'nodejs')
-provides=('ezra-project')
-conflicts=('ezra-project')
-replaces=('ezra-project')
-makedepends=('jq'
- 'moreutils'
- 'node-gyp'
- 'node-prune'
- 'nodejs-addon-api>=3.2.0-2' # run time dep but gets baked into electron asar
- 'nodejs-pug-cli'
- 'nodejs-sword-interface>=0.225.0' # run time dep but gets baked into electron asar
- 'npm')
+license=(GPL3)
+depends=(electron
+ icu
+ nodejs)
+provides=(ezra-project)
+conflicts=(ezra-project)
+replaces=(ezra-project)
+makedepends=(jq
+ moreutils
+ node-gyp
+ node-prune
+ nodejs-addon-api # run time dep but gets baked into electron asar
+ nodejs-pug-cli
+ nodejs-sword-interface # run time dep but gets baked into electron asar
+ npm)
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
"$pkgname.sh")
-sha256sums=('b2adcf8ad9f60832b5f773ea138242eee6942162a04a8381d33b8a3d5f477c02'
+sha256sums=('11fede4cdc9654904efc8f3f515a9dc8eec86178c1eb29fddf38738081a6e348'
'e135a382166ce27cf1348750767e157b2d292d4a189940f0fa874af29bc6540b')
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
- rm -rf node_modules/{node-addon-api,node-sword-interface}
- npm install --cache "$srcdir/npm-cache" --no-audit --no-fund --ignore-scripts
+ 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
+ rm -rf node_modules/{node-addon-api,node-sword-interface}
+ npm install --cache "$srcdir/npm-cache" --no-audit --no-fund --ignore-scripts
}
build() {
- cd "$pkgname-$pkgver"
- local _electron="$(electron --version | sed 's/^v//')"
- npx electron-rebuild -f --version="$_electron"
- node-prune node_modules
- _ep () {
- npx electron-packager ./ "$pkgname" \
- --electron-version="$_electron" \
- --overwrite \
- --platform=linux \
- --arch=x64 $@
- }
- _ep
- ./build_scripts/purge_build_artifacts.sh
- npm link node-addon-api node-sword-interface
- _ep --asar
+ cd "$pkgname-$pkgver"
+ local _electron="$(electron --version | sed 's/^v//')"
+ npx electron-rebuild -f --version="$_electron"
+ node-prune node_modules
+ _ep () {
+ npx electron-packager ./ "$pkgname" \
+ --electron-version="$_electron" \
+ --overwrite \
+ --platform=linux \
+ --arch=x64 $@
+ }
+ _ep
+ ./build_scripts/purge_build_artifacts.sh
+ npm link node-addon-api node-sword-interface
+ _ep --asar
}
package() {
- cd "$pkgname-$pkgver"
- install -Dm755 "../$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
- install -Dm644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop"
- install -Dm644 -t "$pkgdir/usr/lib/$pkgname/resources/" "$pkgname-linux-x64/resources/app.asar"
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
- install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" {CHANGELOG,README,TECH,LOC_METRICS}.md
- install -Dm644 icons/ezra.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
+ cd "$pkgname-$pkgver"
+ install -Dm755 "../$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 -t "$pkgdir/usr/share/applications/" "$pkgname.desktop"
+ install -Dm644 -t "$pkgdir/usr/lib/$pkgname/resources/" "$pkgname-linux-x64/resources/app.asar"
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/" {CHANGELOG,README,TECH,LOC_METRICS}.md
+ install -Dm644 icons/ezra.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
}