joplin.sh 605 Bytes
Newer Older
Vitaly Lipatov's avatar
Vitaly Lipatov committed
1 2 3 4 5 6 7 8 9 10
#!/bin/sh

PKGNAME=Joplin
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Joplin - an open source note taking and to-do application with synchronisation capabilities"
URL="https://joplinapp.org/"

. $(dirname $0)/common.sh

11 12 13 14 15 16 17
if [ "$VERSION" = "*" ] ; then
    PKGURL="$(eget --list --latest https://joplinapp.org/help/install "Joplin-$VERSION.AppImage?source=JoplinWebsite&type=New")"
else
    PKGURL="https://objects.joplinusercontent.com/v$VERSION/Joplin-$VERSION.AppImage"
fi

#PKGURL="$(eget --list --latest https://github.com/laurent22/joplin/releases/ "Joplin-$VERSION.AppImage")"
Vitaly Lipatov's avatar
Vitaly Lipatov committed
18

19
install_pkgurl