cuda-z.sh 490 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME=cuda-z
4
VERSION="$2"
5
SUPPORTEDARCHES="x86_64 x86"
6
DESCRIPTION="CUDA-Z from the official site"
7 8 9 10 11 12

. $(dirname $0)/common.sh

arch="$(epm print info -a)"
case "$arch" in
    x86_64)
13
        file="CUDA-Z-$VERSION-64bit.run/download"
14 15
        ;;
    x86)
16
        file="CUDA-Z-$VERSION-32bit.run/download"
17 18 19 20 21 22
        ;;
    *)
        fatal "$arch arch is not supported"
        ;;
esac

23
PKGURL="$(eget --list --latest https://cuda-z.sourceforge.net/ "$file" )"
24 25

install_pack_pkgurl