far2l-portable.sh 526 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/bin/sh

PKGNAME=far2l-portable
SUPPORTEDARCHES="x86_64 x86 aarch64"
DESCRIPTION="FAR2L Portable from the official site"

. $(dirname $0)/common.sh

arch=$(epm print info -a)
case $arch in
    x86_64)
        arch="amd64" ;;
    x86)
        arch="i386" ;;
    aarch64)
        arch=$arch ;;
    *)
        fatal "Unsupported arch $arch for $(epm print info -d)"
esac

21
VERSION="2.4"
22
PKGURL="https://github.com/unxed/far2l-deb/raw/master/portable/far2l_portable_$arch.tar.gz"
23
epm pack --install $PKGNAME "$PKGURL" "$VERSION"