upgpkg: joplin 1.4.19-12

Add Joplin Combined package
main
Alfredo Palhares 2020-12-20 18:00:38 +00:00
parent cc2df74267
commit 7f5850a3f2
3 changed files with 36 additions and 15 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 - CLI and Desktop Version
pkgver = 1.4.19 pkgver = 1.4.19
pkgrel = 11 pkgrel = 12
url = https://joplinapp.org/ url = https://joplinapp.org/
install = joplin.install install = joplin.install
arch = x86_64 arch = x86_64
@ -13,6 +13,18 @@ pkgbase = joplin
makedepends = python makedepends = python
makedepends = rsync makedepends = rsync
makedepends = electron makedepends = electron
depends = electron
depends = gtk3
depends = libexif
depends = libgsf
depends = libjpeg-turbo
depends = libwebp
depends = libxss
depends = nodejs
depends = nss
depends = orc
depends = rsync
optdepends = libappindicator-gtk3: for tray icon
source = joplin.desktop source = joplin.desktop
source = joplin-desktop.sh source = joplin-desktop.sh
source = joplin.sh source = joplin.sh
@ -23,6 +35,9 @@ pkgbase = joplin
sha256sums = 55aad4fe50e2da980983a69bc7c0870626064db971550d522e266feb17d38916 sha256sums = 55aad4fe50e2da980983a69bc7c0870626064db971550d522e266feb17d38916
pkgname = joplin pkgname = joplin
conflicts = joplin-cli
conflicts = joplin-desktop
conflicts = joplin-desktop-electron
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

View File

@ -8,9 +8,12 @@ pkgbase="joplin"
pkgname=('joplin' 'joplin-cli' 'joplin-desktop' 'joplin-desktop-electron') pkgname=('joplin' 'joplin-cli' 'joplin-desktop' 'joplin-desktop-electron')
pkgver=1.4.19 pkgver=1.4.19
groups=('joplin') groups=('joplin')
pkgrel=11 pkgrel=12
install="joplin.install" install="joplin.install"
pkgdesc="A note taking and to-do application with synchronization capabilities - Split Package" depends=('electron' 'gtk3' 'libexif' 'libgsf' 'libjpeg-turbo' 'libwebp' 'libxss' 'nodejs'
'nss' 'orc' 'rsync' )
optdepends=('libappindicator-gtk3: for tray icon')
pkgdesc="A note taking and to-do application with synchronization capabilities - CLI and Desktop Version"
arch=('x86_64' 'i686') arch=('x86_64' 'i686')
makedepends=('git' 'npm' 'python' 'rsync' 'electron') makedepends=('git' 'npm' 'python' 'rsync' 'electron')
url="https://joplinapp.org/" url="https://joplinapp.org/"
@ -22,7 +25,6 @@ sha256sums=('c7c5d8b0ff9edb810ed901ea21352c9830bfa286f3c18b1292deca5b2f8febd2'
'5b6f8847ec0c3848375755213c3009c273f478b4b80ed2c5f0af8f67ee0e94fb' '5b6f8847ec0c3848375755213c3009c273f478b4b80ed2c5f0af8f67ee0e94fb'
'55aad4fe50e2da980983a69bc7c0870626064db971550d522e266feb17d38916') '55aad4fe50e2da980983a69bc7c0870626064db971550d522e266feb17d38916')
build() { build() {
cd "${srcdir}/joplin-${pkgver}" cd "${srcdir}/joplin-${pkgver}"
msg2 "Disabling husky (git hooks)" msg2 "Disabling husky (git hooks)"
@ -43,6 +45,12 @@ check() {
npm run test || exit 0 npm run test || exit 0
} }
package_joplin() {
conflicts=('joplin-cli' 'joplin-desktop' 'joplin-desktop-electron')
package_joplin-cli
package_joplin-desktop
}
#TODO: A slimdown is needed #TODO: A slimdown is needed
package_joplin-cli() { package_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"
@ -79,7 +87,6 @@ package_joplin-cli() {
ln -s "../../../lib" "lib" ln -s "../../../lib" "lib"
ln -s "../../../renderer" "renderer" ln -s "../../../renderer" "renderer"
ln -s "../../../tools" "tools" ln -s "../../../tools" "tools"
done done
msg2 "Installing LICENSE..." msg2 "Installing LICENSE..."
@ -91,9 +98,6 @@ 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"

View File

@ -6,10 +6,11 @@
## 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-cli for a CLI version" echo "joplin: Contains Both CLI and Desktop"
echo "joplin-desktop for a Desktop 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 "You may need to install them explicity on some AUR helpers"
echo "The joplin and joplin-desktop-electron will be DEPRECATED!!" echo "The joplin-desktop-electron package will be DEPRECATED!!"
} }
## arg 1: the new package version ## arg 1: the new package version
@ -22,10 +23,11 @@ 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-cli for a CLI version" echo "joplin: Contains Both CLI and Desktop"
echo "joplin-desktop for a Desktop 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 "You may need to install them explicity on some AUR helpers"
echo "The joplin and joplin-desktop-electron will be DEPRECATED!!" echo "The joplin-desktop-electron package will be DEPRECATED!!"
} }
## arg 1: the old package version ## arg 1: the old package version