diff options
author | Philipp A | 2017-09-07 12:14:21 +0200 |
---|---|---|
committer | Philipp A | 2017-09-07 12:14:21 +0200 |
commit | a0f9ef098fc86be95cc20cd9a03e5ee709b289e6 (patch) | |
tree | 85ae2888121522ed6e50ddc87770fb0c7b0925d5 /PKGBUILD | |
parent | 2947cb4f7d0eb99b39e0ee868becc90f3be7c1d6 (diff) | |
download | aur-a0f9ef098fc86be95cc20cd9a03e5ee709b289e6.tar.gz |
use npm
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,11 +3,11 @@ pkgname=rambox pkgver=0.5.12 _relver=0.5.12 # for a release tarball containing env.js -pkgrel=1 +pkgrel=2 pkgdesc='Free and Open Source messaging and emailing app that combines common web applications into one.' arch=(i686 x86_64) depends=(electron) -makedepends=(desktop-file-utils asar ruby yarn sencha-cmd-6) +makedepends=(desktop-file-utils asar ruby npm sencha-cmd-6) url='http://rambox.pro/' license=('GPL3') source=("https://github.com/saenzramiro/$pkgname/archive/$pkgver.tar.gz" @@ -33,10 +33,10 @@ build() { # install packages sed -Ei 's/\s+"electron": "[^"]+",//' package.json - yarn + npm install # build - yarn run sencha:compile + npm run sencha:compile sed -i "s/require('electron-is-dev')/false/" 'build/production/Rambox/electron/main.js' } |