upgpkg: joplin 1.4.19-11

Added the OLD package names for compatability
main
Alfredo Palhares 2020-12-19 23:35:38 +00:00
parent f8f51b8f12
commit cc2df74267
3 changed files with 19 additions and 5 deletions

View File

@ -1,7 +1,7 @@
pkgbase = joplin pkgbase = joplin
pkgdesc = A note taking and to-do application with synchronization capabilities - Split Package pkgdesc = A note taking and to-do application with synchronization capabilities - Split Package
pkgver = 1.4.19 pkgver = 1.4.19
pkgrel = 10 pkgrel = 11
url = https://joplinapp.org/ url = https://joplinapp.org/
install = joplin.install install = joplin.install
arch = x86_64 arch = x86_64
@ -22,6 +22,8 @@ pkgbase = joplin
sha256sums = 5b6f8847ec0c3848375755213c3009c273f478b4b80ed2c5f0af8f67ee0e94fb sha256sums = 5b6f8847ec0c3848375755213c3009c273f478b4b80ed2c5f0af8f67ee0e94fb
sha256sums = 55aad4fe50e2da980983a69bc7c0870626064db971550d522e266feb17d38916 sha256sums = 55aad4fe50e2da980983a69bc7c0870626064db971550d522e266feb17d38916
pkgname = joplin
pkgname = joplin-cli pkgname = joplin-cli
pkgdesc = A note taking and to-do application with synchronization capabilities - CLI App pkgdesc = A note taking and to-do application with synchronization capabilities - CLI App
depends = nodejs depends = nodejs
@ -41,3 +43,5 @@ pkgname = joplin-desktop
depends = orc depends = orc
optdepends = libappindicator-gtk3: for tray icon optdepends = libappindicator-gtk3: for tray icon
pkgname = joplin-desktop-electron

View File

@ -5,10 +5,10 @@
# https://github.com/alfredopalhares/arch-pkgbuilds # https://github.com/alfredopalhares/arch-pkgbuilds
pkgbase="joplin" pkgbase="joplin"
pkgname=('joplin-cli' 'joplin-desktop') pkgname=('joplin' 'joplin-cli' 'joplin-desktop' 'joplin-desktop-electron')
pkgver=1.4.19 pkgver=1.4.19
groups=('joplin') groups=('joplin')
pkgrel=10 pkgrel=11
install="joplin.install" install="joplin.install"
pkgdesc="A note taking and to-do application with synchronization capabilities - Split Package" pkgdesc="A note taking and to-do application with synchronization capabilities - Split Package"
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
@ -91,6 +91,10 @@ package_joplin-cli() {
install -Dm755 joplin.sh "${pkgdir}/usr/bin/joplin-cli" install -Dm755 joplin.sh "${pkgdir}/usr/bin/joplin-cli"
} }
package_joplin() {
package_joplin-cli
}
package_joplin-desktop() { package_joplin-desktop() {
pkgdesc="A note taking and to-do application with synchronization capabilities - Desktop" pkgdesc="A note taking and to-do application with synchronization capabilities - Desktop"
depends=('electron' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs' 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" install -Dm644 ${srcdir}/joplin.desktop -t "${pkgdir}/usr/share/applications"
} }
package_joplin-desktop-electron() {
package_joplin-desktop
}

View File

@ -6,9 +6,10 @@
## arg 1: the new package version ## arg 1: the new package version
post_install() { post_install() {
echo "This is now a split Package:" 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 "joplin-desktop for a Desktop version"
echo "You may need to install them explicity on some AUR helpers" 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 ## arg 1: the new package version
@ -21,9 +22,10 @@ post_install() {
## arg 2: the old package version ## arg 2: the old package version
post_upgrade() { post_upgrade() {
echo "This is now a split Package:" 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 "joplin-desktop for a Desktop version"
echo "You may need to install them explicity on some AUR helpers" 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 ## arg 1: the old package version