#!/bin/shDESCRIPTION="CUDA-Z from the official site"PKGNAME=cuda-zSUPPORTEDARCHES="x86_64 x86".$(dirname$0)/common.sharch="$(epm print info -a)"case"$arch"inx86_64)file="CUDA-Z-*-64bit.run/download";; x86)file="CUDA-Z-*-32bit.run/download";;*) fatal "$arch arch is not supported";;esacpkgtype="$(epm print info -p)"PKGURL="$(eget --list--latest https://cuda-z.sourceforge.net/ "$file")"epm pack --install$PKGNAME"$PKGURL"