iptvnator.sh 466 Bytes
Newer Older
1 2 3 4
#!/bin/sh

PKGNAME=iptvnator
SUPPORTEDARCHES="x86_64 aarch64"
5
VERSION="$2"
6
DESCRIPTION='IPTV player from the official site'
7
URL="https://github.com/4gray/iptvnator"
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

. $(dirname $0)/common.sh

arch=$(epm print info -a)
case "$arch" in
    x86_64)
        arch=amd64
        ;;
    aarch64)
        arch=arm64
        ;;
esac

pkgtype=deb

23
PKGURL=$(eget --list --latest https://github.com/4gray/iptvnator/releases/ "$PKGNAME*$VERSION*$arch.$pkgtype")
24

25
install_pkgurl