#!@BASH@ # # Copyright (C) 2020-2021 Alexandros Theodotou # # This file is part of Zrythm # # Zrythm is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Zrythm is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with Zrythm. If not, see . # package type (DEBIAN, FEDORA, etc.) pkg_type="$1" # "-trial" if trial trial="$2" zrythm_pkg_ver=@ZRYTHM_PKG_VERSION@ case "$pkg_type" in "ARCH") echo "zrythm${trial}-$zrythm_pkg_ver-1-x86_64.pkg.tar.zst" ;; "DEBIAN") echo "zrythm${trial}_${zrythm_pkg_ver}_amd64.deb" ;; "FEDORA") echo "zrythm${trial}-$zrythm_pkg_ver-1.x86_64.rpm" ;; "APPIMAGE") echo "zrythm${trial}-$zrythm_pkg_ver-x86_64.AppImage" ;; "FLATPAK") echo "zrythm${trial}-$zrythm_pkg_ver-x86_64.flatpak" ;; "GNU_LINUX") echo "zrythm${trial}-$zrythm_pkg_ver-installer.zip" ;; "OSX_BREW_ZIP") echo "zrythm${trial}-$zrythm_pkg_ver-osx-installer.zip" ;; "WINDOWS_MSYS") echo "zrythm${trial}-$zrythm_pkg_ver-ms-setup.exe" ;; esac