diff options
author | Jianfeng Zhang | 2020-09-12 14:12:12 -0700 |
---|---|---|
committer | Jianfeng Zhang | 2020-09-12 14:12:48 -0700 |
commit | 4a6a744ae1a78a3e0bc758c3f6c84be83029b3ff (patch) | |
tree | 3ee133ec8a8f66a493b24a96fac29d69a98bf0fd | |
parent | 45627cdd5db0aa62e88ac7585219b355e549707c (diff) | |
download | aur-4a6a744ae1a78a3e0bc758c3f6c84be83029b3ff.tar.gz |
bundle electron
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = poi pkgdesc = Scalable KanColle browser and tool pkgver = 10.6.0.0.g1f164297 - pkgrel = 1 + pkgrel = 2 url = https://github.com/poooi/poi/ arch = any license = MIT @@ -13,7 +13,7 @@ pkgbase = poi makedepends = gulp makedepends = npm makedepends = python2 - depends = electron + makedepends = jq depends = nodejs provides = poi conflicts = poi @@ -3,13 +3,13 @@ pkgname=poi _pkgname=poi pkgver=10.6.0.0.g1f164297 -pkgrel=1 +pkgrel=2 pkgdesc="Scalable KanColle browser and tool" arch=('any') url="https://github.com/poooi/poi/" license=('MIT') -depends=('electron' 'nodejs') -makedepends=('git' 'nodejs' 'imagemagick' 'zlib' 'unzip' 'gulp' 'npm' 'python2') +depends=('nodejs') +makedepends=('git' 'nodejs' 'imagemagick' 'zlib' 'unzip' 'gulp' 'npm' 'python2' 'jq') provides=("${_pkgname}") conflicts=("${_pkgname}") source=("git+https://github.com/poooi/poi.git" @@ -36,6 +36,9 @@ build() { git clean -xdf npm install gulp build + # bundle electron + cd app_compiled + npm i electron@$(jq -r '.devDependencies.electron' ../package.json) } package() { |