From cc2df74267cd5356724c339972eb92d2e549b2c6 Mon Sep 17 00:00:00 2001 From: Alfredo Palhares Date: Sat, 19 Dec 2020 23:35:38 +0000 Subject: [PATCH] upgpkg: joplin 1.4.19-11 Added the OLD package names for compatability --- .SRCINFO | 6 +++++- PKGBUILD | 12 ++++++++++-- joplin.install | 6 ++++-- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2ef6457..269d8e5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = joplin pkgdesc = A note taking and to-do application with synchronization capabilities - Split Package pkgver = 1.4.19 - pkgrel = 10 + pkgrel = 11 url = https://joplinapp.org/ install = joplin.install arch = x86_64 @@ -22,6 +22,8 @@ pkgbase = joplin sha256sums = 5b6f8847ec0c3848375755213c3009c273f478b4b80ed2c5f0af8f67ee0e94fb sha256sums = 55aad4fe50e2da980983a69bc7c0870626064db971550d522e266feb17d38916 +pkgname = joplin + pkgname = joplin-cli pkgdesc = A note taking and to-do application with synchronization capabilities - CLI App depends = nodejs @@ -41,3 +43,5 @@ pkgname = joplin-desktop depends = orc optdepends = libappindicator-gtk3: for tray icon +pkgname = joplin-desktop-electron + diff --git a/PKGBUILD b/PKGBUILD index 421b7ae..b79cb28 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,10 +5,10 @@ # https://github.com/alfredopalhares/arch-pkgbuilds pkgbase="joplin" -pkgname=('joplin-cli' 'joplin-desktop') +pkgname=('joplin' 'joplin-cli' 'joplin-desktop' 'joplin-desktop-electron') pkgver=1.4.19 groups=('joplin') -pkgrel=10 +pkgrel=11 install="joplin.install" pkgdesc="A note taking and to-do application with synchronization capabilities - Split Package" arch=('x86_64' 'i686') @@ -91,6 +91,10 @@ package_joplin-cli() { install -Dm755 joplin.sh "${pkgdir}/usr/bin/joplin-cli" } +package_joplin() { + package_joplin-cli +} + package_joplin-desktop() { pkgdesc="A note taking and to-do application with synchronization capabilities - Desktop" depends=('electron' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs' @@ -119,3 +123,7 @@ package_joplin-desktop() { install -Dm644 ${srcdir}/joplin.desktop -t "${pkgdir}/usr/share/applications" } +package_joplin-desktop-electron() { + package_joplin-desktop +} + diff --git a/joplin.install b/joplin.install index d12d9d1..d564568 100644 --- a/joplin.install +++ b/joplin.install @@ -6,9 +6,10 @@ ## arg 1: the new package version post_install() { echo "This is now a split Package:" - echo "joplin for a CLI version" + echo "joplin-cli for a CLI version" echo "joplin-desktop for a Desktop version" echo "You may need to install them explicity on some AUR helpers" + echo "The joplin and joplin-desktop-electron will be DEPRECATED!!" } ## arg 1: the new package version @@ -21,9 +22,10 @@ post_install() { ## arg 2: the old package version post_upgrade() { echo "This is now a split Package:" - echo "joplin for a CLI version" + echo "joplin-cli for a CLI version" echo "joplin-desktop for a Desktop version" echo "You may need to install them explicity on some AUR helpers" + echo "The joplin and joplin-desktop-electron will be DEPRECATED!!" } ## arg 1: the old package version