diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | .nvchecker.toml | 2 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 13 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = ezra-bible-app-git pkgdesc = A user-friendly Bible study tool focussing on topical study based on keywords/tags - pkgver = 1.2.0.r4.gba4b665 + pkgver = 1.12.0.r183.gb129450 pkgrel = 1 url = https://github.com/ezra-bible-app/ezra-bible-app arch = x86_64 @@ -17,8 +17,7 @@ pkgbase = ezra-bible-app-git depends = electron depends = icu depends = nodejs - provides = ezra-bible-app - provides = ezra-project-git + provides = ezra-bible-app=1.12.0.r183.gb129450 conflicts = ezra-bible-app conflicts = ezra-project-git replaces = ezra-project-git diff --git a/.nvchecker.toml b/.nvchecker.toml new file mode 100644 index 000000000000..f3661ac499dc --- /dev/null +++ b/.nvchecker.toml @@ -0,0 +1,2 @@ +[ezra-bible-app-git] +source = 'manual' @@ -1,7 +1,7 @@ # Maintainer: Caleb Maclennan <caleb@alerque.com> pkgname=ezra-bible-app-git -pkgver=1.2.0.r4.gba4b665 +pkgver=1.12.0.r183.gb129450 pkgrel=1 pkgdesc='A user-friendly Bible study tool focussing on topical study based on keywords/tags' arch=(x86_64) @@ -19,20 +19,14 @@ makedepends=(git nodejs-pug-cli nodejs-sword-interface # run time dep but gets baked into electron asar npm) -provides=("${pkgname%-git}" - ezra-project-git) -conflicts=("${provides[@]}") +provides=("${pkgname%-git}=$pkgver") +conflicts=("${pkgname%-git}" ezra-project-git) replaces=(ezra-project-git) source=("git+$url.git" "${pkgname%-git}.sh") sha256sums=('SKIP' 'e135a382166ce27cf1348750767e157b2d292d4a189940f0fa874af29bc6540b') -pkgver() { - cd "${pkgname%-git}" - git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' -} - prepare() { cd "${pkgname%-git}" jq 'del(.dependencies["node-addon-api", "node-sword-interface"], .devDependencies["electron", "electron-osx-sign", "node-abi", "node-gyp", "pug-cli", "sequelize-cli"])' package.json | @@ -41,6 +35,11 @@ prepare() { npm install --cache "$srcdir/npm-cache" --no-audit --no-fund --ignore-scripts } +pkgver() { + cd "${pkgname%-git}" + git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { cd "${pkgname%-git}" local _electron="$(electron --version | sed 's/^v//')" @@ -64,7 +63,7 @@ package() { install -Dm755 "../${pkgname%-git}.sh" "$pkgdir/usr/bin/${pkgname%-git}" install -Dm644 -t "$pkgdir/usr/share/applications/" "${pkgname%-git}.desktop" install -Dm644 -t "$pkgdir/usr/lib/${pkgname%-git}/resources/" "${pkgname%-git}-linux-x64/resources/app.asar" - install -Dm644 -t "$pkgdir/usr/share/licences/$pkgname/" LICENSE + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE install -Dm644 -t "$pkgdir/usr/share/doc/${pkgname%-git}/" {CHANGELOG,README,TECH,LOC_METRICS}.md install -Dm644 icons/ezra.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/${pkgname%-git}.svg" } |