diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = notion-app pkgdesc = The all-in-one workspace for your notes and tasks pkgver = 2.0.16 - pkgrel = 11 + pkgrel = 12 epoch = 2 url = https://www.notion.so/desktop arch = i686 @@ -13,6 +13,7 @@ pkgbase = notion-app makedepends = nvm makedepends = python2 makedepends = git + makedepends = jq depends = re2 depends = gtk3 depends = xdg-utils @@ -2,14 +2,14 @@ pkgname=notion-app pkgver=2.0.16 -pkgrel=11 +pkgrel=12 epoch=2 pkgdesc="The all-in-one workspace for your notes and tasks" arch=('i686' 'x86_64') url="https://www.notion.so/desktop" license=('MIT') depends=('re2' 'gtk3' 'xdg-utils') -makedepends=('imagemagick' 'p7zip' 'npm' 'nvm' 'python2' 'git') +makedepends=('imagemagick' 'p7zip' 'npm' 'nvm' 'python2' 'git' 'jq') source=("Notion-"${pkgver}".exe::https://desktop-release.notion-static.com/Notion%20Setup%20${pkgver}.exe" 'notion-app.desktop') md5sums=('9f72284086cda3977f7f569dff3974d5' @@ -50,9 +50,11 @@ build() { print_info "Recreating package node_modules..." rm -r node_modules + PATCHED_PACKAGE_JSON=$(jq '.dependencies.cld="2.7.0"' package.json) + echo "${PATCHED_PACKAGE_JSON}" > package.json + npm install --cache "${srcdir}/npm-cache" node_modules/.bin/patch-package - npm install cld@2.7.0 --cache "${srcdir}/npm-cache" print_info "Converting app icon..." convert "icon.ico[0]" "icon.png" >/dev/null |