Compare commits

..

No commits in common. "6562b15bb5ca4921811fd03f3d3b6f3b95158994" and "70f472db083ed9a49223602a8d518a88b9cb50a4" have entirely different histories.

3 changed files with 6 additions and 18 deletions

View File

@ -11,7 +11,7 @@ pipeline:
- "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" - "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- su builder - su builder
# Build the package # Build the package
- makepkg -s --noconfirm --needed' - 'echo "Y" | makepkg -s --noconfirm --needed'
publish: publish:
image: 'archlinux:latest' image: 'archlinux:latest'

View File

@ -7,16 +7,16 @@
# https://github.com/alfredopalhares/arch-pkgbuilds # https://github.com/alfredopalhares/arch-pkgbuilds
pkgbase="joplin" pkgbase="joplin"
pkgname=('jjr-joplin' 'jjr-joplin-desktop') pkgname=('joplin' 'joplin-desktop')
pkgver=2.6.10 pkgver=2.6.10
groups=('jjr-joplin') groups=('joplin')
pkgrel=4 pkgrel=4
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' 'libvips') 'nss' 'orc' 'rsync' 'libvips')
optdepends=('libappindicator-gtk3: for tray icon') optdepends=('libappindicator-gtk3: for tray icon')
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
makedepends=('git' 'yarn' 'python2' 'rsync' 'jq' 'electron' 'libgsf' 'node-gyp>=8.4.1' 'libvips' 'expect') makedepends=('git' 'yarn' 'python2' 'rsync' 'jq' 'electron' 'libgsf' 'node-gyp>=8.4.1' 'libvips')
url="https://joplinapp.org/" url="https://joplinapp.org/"
license=('MIT') license=('MIT')
source=("joplin.desktop" "joplin-desktop.sh" "joplin.sh" source=("joplin.desktop" "joplin-desktop.sh" "joplin.sh"
@ -46,12 +46,11 @@ prepare() {
msg2 "Disabling husky (git hooks)" msg2 "Disabling husky (git hooks)"
sed -i '/"husky": ".*"/d' "${srcdir}/joplin-${pkgver}/package.json" sed -i '/"husky": ".*"/d' "${srcdir}/joplin-${pkgver}/package.json"
msg2 "Applying patches..." msg2 "Appliying patches..."
cd "${srcdir}/joplin-${pkgver}" cd "${srcdir}/joplin-${pkgver}"
tar xvJf "${srcdir}/joplin-patches.tar.xz" tar xvJf "${srcdir}/joplin-patches.tar.xz"
patch -p1 < "${srcdir}/0005-All-Fixed-issue-where-synchroniser-would-try-to-upda.patch" patch -p1 < "${srcdir}/0005-All-Fixed-issue-where-synchroniser-would-try-to-upda.patch"
# patch -p1 < "${srcdir}/0007-Tools-Use-Yarn-3-to-manage-monorepo-5833.patch" patch -p1 < "${srcdir}/0007-Tools-Use-Yarn-3-to-manage-monorepo-5833.patch"
expect "${srcdir}/patch.exp" "${srcdir}/0007-Tools-Use-Yarn-3-to-manage-monorepo-5833.patch"
msg2 "Tweaking lerna.json" msg2 "Tweaking lerna.json"
local tmp_json="$(mktemp --tmpdir="$srcdir")" local tmp_json="$(mktemp --tmpdir="$srcdir")"

View File

@ -1,11 +0,0 @@
#!/usr/bin/expect -f
set timeout -1
set patchfile [lindex $argv 0]
spawn sh -c "patch -p1 < $patchfile"
expect "Assume -R?"
send -- "y\r"