upgpkg: joplin 1.7.11-3

Use packaged Joplin
main
Alfredo Palhares 2021-04-20 10:28:12 +01:00
parent d6b77dbf1f
commit ea8324eec7
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
pkgbase = joplin pkgbase = joplin
pkgver = 1.7.11 pkgver = 1.7.11
pkgrel = 2 pkgrel = 3
url = https://joplinapp.org/ url = https://joplinapp.org/
install = joplin.install install = joplin.install
arch = x86_64 arch = x86_64

View File

@ -9,7 +9,7 @@ pkgbase="joplin"
pkgname=('joplin' 'joplin-desktop') pkgname=('joplin' 'joplin-desktop')
pkgver=1.7.11 pkgver=1.7.11
groups=('joplin') groups=('joplin')
pkgrel=2 pkgrel=3
install="joplin.install" install="joplin.install"
depends=('electron' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs' depends=('electron' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs'
'nss' 'orc' 'rsync' ) 'nss' 'orc' 'rsync' )
@ -152,8 +152,10 @@ package_joplin-desktop() {
electron_dir="/usr/lib/electron" electron_dir="/usr/lib/electron"
electron_version=$(cat /usr/lib/electron/version) electron_version=$(cat /usr/lib/electron/version)
msg2 "Using Electron Version ${electron_version}" msg2 "Using Electron Version ${electron_version}"
# Current version of electron does not work
USE_HARD_LINKS=false npm run dist -- --publish=never --linux --x64 \ USE_HARD_LINKS=false npm run dist -- --publish=never --linux --x64 \
--dir="dist/" -c.electronDist=$electron_dir -c.electronVersion=$electron_version --dir="dist/"
#--dir="dist/" -c.electronDist=$electron_dir -c.electronVersion=$electron_version
# TODO: Cleanup app.asar file # TODO: Cleanup app.asar file
cd dist/linux-unpacked/ cd dist/linux-unpacked/