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

PKGNAME=persepolis
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION='is a download manager & a GUI for Aria2'
URL="https://persepolisdm.github.io/"

. $(dirname $0)/common.sh

if [ "$VERSION" = "*" ] ; then
    PKGURL=$(get_github_version "https://github.com/persepolisdm/persepolis/" "${PKGNAME}_.${VERSION}_all.deb")
else
    PKGURL="https://github.com/persepolisdm/persepolis/releases/download/$VERSION/${PKGNAME}_${VERSION}_all.deb"
fi

install_pkgurl