novelwriter.sh 451 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh

PKGNAME=novelwriter
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="novelWriter - a markdown-like editor for novels"

. $(dirname $0)/common.sh

arch=amd64
pkgtype=deb

# https://github.com/vkbo/novelWriter/releases/download/v2.0.7/novelwriter_2.0.7_all.deb
PKGURL=$(epm tool eget --list --latest https://github.com/vkbo/novelWriter/releases "novelwriter_${VERSION}_all.$pkgtype") || fatal "Can't get package URL"

epm install "$PKGURL"