cuda-z.sh 528 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
URL="https://cuda-z.sourceforge.net/"
8 9 10 11 12 13

. $(dirname $0)/common.sh

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

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

install_pack_pkgurl