summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorsurefire2016-09-26 14:38:39 +0300
committersurefire2016-09-26 14:38:39 +0300
commitb49dc8b7cb65ced9d35a65724c73408aefcdb258 (patch)
tree32780665560e5f480eb9015aa648e95b9932d070 /PKGBUILD
parent947675b2baa22a074b0a4cc55523e4cbfa052f2e (diff)
downloadaur-b49dc8b7cb65ced9d35a65724c73408aefcdb258.tar.gz
remove extra dependencies
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 301ab779d76..8e6bb7d3d95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=keeweb
pkgver=1.3.3
-pkgrel=3
+pkgrel=4
pkgdesc="Desktop password manager compatible with KeePass databases."
arch=('any')
url="https://github.com/antelle/keeweb"
@@ -29,17 +29,25 @@ prepare() {
rm npm-shrinkwrap.json
sed -i \
+ -e '/"babel-/ d' \
-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' \
+ -e '/"grunt-contrib-uglify"/ d' \
+ -e '/"grunt-eslint"/ d' \
+ -e '/"eslint-/ d' \
+ -e '/"uglify-loader"/ d' \
package.json
sed -i \
- -e '/electronVersion/ d' \
+ -e '/electronVersion/ d' \
+ -e "/loader: 'babel'/,+2 d" \
+ -e "/'eslint',/ d" \
+ -e "/'uglify',/ d" \
+ -e "/loader: 'uglify'/ d" \
Gruntfile.js
# hide electron menu
@@ -54,9 +62,9 @@ build() {
npm install
node_modules/.bin/grunt
- cp electron/* dist
+ cp -rT electron dist
- asar p dist ../keeweb.asar
+ asar p dist ../keeweb.asar
}
package() {