summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
-rw-r--r--keeweb2
3 files changed, 13 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9325aa7762b..8f75c736b04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = keeweb
pkgdesc = Desktop password manager compatible with KeePass databases.
pkgver = 1.6.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/keeweb/keeweb
arch = any
license = MIT
@@ -13,7 +13,7 @@ pkgbase = keeweb
source = https://github.com/keeweb/keeweb/archive/v1.6.3.tar.gz
source = keeweb
sha1sums = 75c054b23aa4f0f6fd067174623549f65ebe740a
- sha1sums = 6f73285126a5d6d948712de73053957528aba0cc
+ sha1sums = a2ab033d06abfe7616d2615d8edf7931f29efc96
pkgname = keeweb
diff --git a/PKGBUILD b/PKGBUILD
index 7192f21d843..7880c220575 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=keeweb
pkgver=1.6.3
-pkgrel=1
+pkgrel=2
pkgdesc="Desktop password manager compatible with KeePass databases."
arch=('any')
url="https://github.com/keeweb/keeweb"
@@ -15,7 +15,7 @@ source=("https://github.com/keeweb/keeweb/archive/v${pkgver}.tar.gz"
'keeweb')
sha1sums=('75c054b23aa4f0f6fd067174623549f65ebe740a'
- '6f73285126a5d6d948712de73053957528aba0cc')
+ 'a2ab033d06abfe7616d2615d8edf7931f29efc96')
prepare() {
@@ -60,12 +60,19 @@ prepare() {
sed -i \
-e '/FileSaver.js/ s|eligrey/FileSaver.js|\0#1.3.4|' \
bower.json
+
+ # upgrade node-sass
+ sed -i \
+ -e 's/"node-sass": "4.5.3"/"node-sass": "^4.9.3"/' \
+ package.json
}
build() {
cd "${pkgname}-${pkgver}"
- npm install
+ export SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=1
+
+ npm install --no-package-lock
node_modules/.bin/grunt --skip-sign build-web-app build-desktop-app-content
asar p tmp/desktop/app ../keeweb.asar
diff --git a/keeweb b/keeweb
index b0aec3eb0e0..c5b1095b84e 100644
--- a/keeweb
+++ b/keeweb
@@ -1,3 +1,3 @@
#!/usr/bin/sh
-exec /usr/bin/electron /usr/lib/keeweb/keeweb.asar --disable-updater "$@"
+exec electron /usr/lib/keeweb/keeweb.asar --disable-updater "$@"