summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsurefire2016-09-26 12:38:56 +0300
committersurefire2016-09-26 12:39:56 +0300
commitafa5603f760e209f1ee6ae65ef1a0e5484bfa9e3 (patch)
tree22f95a39094188ad32e039b3a7b0d96db602b6a8 /PKGBUILD
parent956c98a45534289cb119256479f3f7279e87ff31 (diff)
downloadaur-afa5603f760e209f1ee6ae65ef1a0e5484bfa9e3.tar.gz
remove extra dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 19 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f5d2a4c89ee..8630682947f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=keeweb
pkgver=1.3.3
-pkgrel=1
+pkgrel=2
pkgdesc="Desktop password manager compatible with KeePass databases."
arch=('any')
url="https://github.com/antelle/keeweb"
@@ -23,13 +23,26 @@ prepare() {
cd "${pkgname}-${pkgver}"
- # skip electron installation
+
+ # remove extra dependencies
+
+ rm npm-shrinkwrap.json
+
sed -i \
- -e '/electron-prebuild/ d' \
- -e '/grunt-electron/ d' \
- -e '/postinstall/ d' \
- package.json
+ -e '/"electron-prebuilt"/ d' \
+ -e '/"grunt-electron"/ d' \
+ -e '/"grunt-appdmg"/ d' \
+ -e '/"grunt-contrib-compress"/ d' \
+ -e '/"grunt-contrib-deb"/ d' \
+ -e '/"grunt-contrib-watch"/ d' \
+ -e '/"postinstall"/ d' \
+ package.json
+
+ sed -i \
+ -e '/electronVersion/ d' \
+ Gruntfile.js
+ # hide electron menu
sed -i \
-e '/mainWindow = new electron\.BrowserWindow({$/ a \ autoHideMenuBar: true,' \
electron/app.js