1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:57:36 +00:00

Ports: Ensure that the download filename matches the URL basename

This is a preparation step for removing support for explicitly setting a
download filename entirely.
This commit is contained in:
Tim Schumacher 2023-08-07 13:49:25 +02:00 committed by Jelle Raaijmakers
parent c71815bc91
commit 2732545b4c
106 changed files with 128 additions and 122 deletions

View file

@ -3,8 +3,8 @@ port='timidity'
useconfigure='true'
version='2.15.0'
files=(
"https://netcologne.dl.sourceforge.net/project/timidity/TiMidity%2B%2B/TiMidity%2B%2B-${version}/TiMidity%2B%2B-${version}.tar.xz timidity-${version}.tar.xz 9eaf4fadb0e19eb8e35cd4ac16142d604c589e43d0e8798237333697e6381d39"
"https://www.quaddicted.com/files/idgames/sounds/eawpats.zip eawpats.zip.no_extract 19087fa4a40e25ec39a09cffcc9f775fc22d88bc971a7a9831e075cdae2ee1e3"
"https://netcologne.dl.sourceforge.net/project/timidity/TiMidity++/TiMidity++-${version}/TiMidity++-${version}.tar.xz TiMidity++-${version}.tar.xz 9eaf4fadb0e19eb8e35cd4ac16142d604c589e43d0e8798237333697e6381d39"
"https://www.quaddicted.com/files/idgames/sounds/eawpats.zip eawpats.zip 19087fa4a40e25ec39a09cffcc9f775fc22d88bc971a7a9831e075cdae2ee1e3"
)
workdir="TiMidity++-${version}"
use_fresh_config_sub='true'
@ -27,7 +27,7 @@ post_install() {
eaw_pats_dir='/usr/local/share/eawpats'
eaw_pats_host_dir="${SERENITY_INSTALL_ROOT}${eaw_pats_dir}"
mkdir -p "${eaw_pats_host_dir}"
run unzip -qo -d "${eaw_pats_host_dir}" '../eawpats.zip.no_extract'
run unzip -qo -d "${eaw_pats_host_dir}" "${PORT_META_DIR}/eawpats.zip"
# Set up timidity.cfg
timidity_cfg_path="${SERENITY_INSTALL_ROOT}/etc/timidity.cfg"