diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh index 55d4b584e51..697ed3895b9 100755 --- a/Ports/.port_include.sh +++ b/Ports/.port_include.sh @@ -317,20 +317,14 @@ func_defined fetch || fetch() { tried_download_again=0 while true; do - OLDIFS=$IFS - IFS=$'\n' - for f in $files; do - IFS=$OLDIFS + for f in "${files[@]}"; do read url filename auth_sum<<< $(echo "$f") do_download_file "$url" "${PORT_META_DIR}/${filename}" done verification_failed=0 - OLDIFS=$IFS - IFS=$'\n' - for f in $files; do - IFS=$OLDIFS + for f in "${files[@]}"; do read url filename auth_sum<<< $(echo "$f") # check sha256sum if given @@ -357,10 +351,7 @@ func_defined fetch || fetch() { done # extract - OLDIFS=$IFS - IFS=$'\n' - for f in $files; do - IFS=$OLDIFS + for f in "${files[@]}"; do read url filename auth_sum<<< $(echo "$f") if [ ! -f "$workdir"/.${filename}_extracted ]; then @@ -435,10 +426,7 @@ clean() { rm -rf "${PORT_BUILD_DIR}/"* } clean_dist() { - OLDIFS=$IFS - IFS=$'\n' - for f in $files; do - IFS=$OLDIFS + for f in "${files[@]}"; do read url filename hash <<< $(echo "$f") rm -f "${PORT_META_DIR}/${filename}" done diff --git a/Ports/Another-World/package.sh b/Ports/Another-World/package.sh index ab34eb6152f..fc844ccf8dc 100755 --- a/Ports/Another-World/package.sh +++ b/Ports/Another-World/package.sh @@ -5,7 +5,9 @@ version=git depends=("SDL2" "zlib") workdir=Another-World-Bytecode-Interpreter-master configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DSDL2_INCLUDE_DIR=${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2") -files="https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter/archive/refs/heads/master.zip master.zip 326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317" +files=( + "https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter/archive/refs/heads/master.zip master.zip 326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317" +) launcher_name="Another World" launcher_category=Games launcher_command="/opt/Another-World/raw --datapath=/opt/Another-World" diff --git a/Ports/ClassiCube/package.sh b/Ports/ClassiCube/package.sh index 4370e637d92..4b95f732465 100755 --- a/Ports/ClassiCube/package.sh +++ b/Ports/ClassiCube/package.sh @@ -2,7 +2,9 @@ port='ClassiCube' version='1.3.3' -files="https://github.com/UnknownShadow200/ClassiCube/archive/refs/tags/${version}.tar.gz ClassiCube-${version}.tar.gz f90acfeb82fd440ead6e086694d99bd1583b0174da1801687c4c3d0fcb21d83d" +files=( + "https://github.com/UnknownShadow200/ClassiCube/archive/refs/tags/${version}.tar.gz ClassiCube-${version}.tar.gz f90acfeb82fd440ead6e086694d99bd1583b0174da1801687c4c3d0fcb21d83d" +) workdir="${port}-${version}/src/" depends=( 'SDL2' diff --git a/Ports/ObjFW/package.sh b/Ports/ObjFW/package.sh index d8283d8b1ca..2a932d8a46b 100755 --- a/Ports/ObjFW/package.sh +++ b/Ports/ObjFW/package.sh @@ -4,7 +4,9 @@ port="ObjFW" version="master" commit="2903ecda7767a9563b6d3c74581b3920d32e6576" useconfigure="true" -files="https://github.com/ObjFW/ObjFW/archive/${commit}.tar.gz ObjFW-${commit}.tar.gz ef5e3158e898415a9458f2c9a620b47f111b9a2af0bc8c48bcde4e13ae2b7727" +files=( + "https://github.com/ObjFW/ObjFW/archive/${commit}.tar.gz ObjFW-${commit}.tar.gz ef5e3158e898415a9458f2c9a620b47f111b9a2af0bc8c48bcde4e13ae2b7727" +) workdir="ObjFW-${commit}" use_fresh_config_sub='true' config_sub_paths=("build-aux/config.sub") diff --git a/Ports/OpenJDK/package.sh b/Ports/OpenJDK/package.sh index f60149abe48..4ce0f52397c 100755 --- a/Ports/OpenJDK/package.sh +++ b/Ports/OpenJDK/package.sh @@ -8,7 +8,9 @@ use_fresh_config_guess='true' config_guess_paths=("make/autoconf/build-aux/autoconf-config.guess") use_fresh_config_sub='true' config_sub_paths=("make/autoconf/build-aux/autoconf-config.sub") -files="https://github.com/openjdk/jdk17u-dev/archive/refs/tags/jdk-${version}-ga.tar.gz jdk-${version}-ga.tar.gz 4bd3d2534d7b584c01711e64b9e5b7e79052a1759d3fded8d64107ebc9d37dc2" +files=( + "https://github.com/openjdk/jdk17u-dev/archive/refs/tags/jdk-${version}-ga.tar.gz jdk-${version}-ga.tar.gz 4bd3d2534d7b584c01711e64b9e5b7e79052a1759d3fded8d64107ebc9d37dc2" +) depends=("fontconfig" "libffi") configure() { diff --git a/Ports/README.md b/Ports/README.md index c3fac6bf106..043abff08ac 100644 --- a/Ports/README.md +++ b/Ports/README.md @@ -134,7 +134,9 @@ script simply defines some well-known variables and looks like this: port="foo" version="1.2.3" useconfigure="true" -files="https://example.com/foo-${version}.tar.gz foo-${version}.tar.gz" +files=( + "https://example.com/foo-${version}.tar.gz foo-${version}.tar.gz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a" +) depends=("bar" "baz") ``` @@ -183,8 +185,8 @@ depends=("ncurses" "gettext") #### `files` -A list of external files required by the port, one per line. The format of each -line is as follows: +An array of external files required by the port, one per line. The format of each +entry is as follows: ```text URL NAME HASH @@ -197,7 +199,9 @@ that will be used for verification. For example: ```bash -files="https://example.com/foo-${version}.tar.xz foo-${version}.tar.xz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a" +files=( + "https://example.com/foo-${version}.tar.xz foo-${version}.tar.xz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a" +) ``` If a file is a compressed tar archive, a gzip compressed file or a zip diff --git a/Ports/RISCVEmu/package.sh b/Ports/RISCVEmu/package.sh index 102d212b831..cfc429ff869 100755 --- a/Ports/RISCVEmu/package.sh +++ b/Ports/RISCVEmu/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=RISCVEmu version=ad8ad6a0eb8591385318b2ec1cffde6078ff0185 -files="https://github.com/IdanHo/RISCVEmu/archive/${version}.tar.gz RISCVEmu-${version}.tar.gz b4636284dd407e490ba6dd783b65caf8c019785285d6a86aece3860465276b33" +files=( + "https://github.com/IdanHo/RISCVEmu/archive/${version}.tar.gz RISCVEmu-${version}.tar.gz b4636284dd407e490ba6dd783b65caf8c019785285d6a86aece3860465276b33" +) build() { run "${CXX}" -o RISCVEmu RISCVEmu.cpp RISCV.cpp diff --git a/Ports/RetroArch/package.sh b/Ports/RetroArch/package.sh index 270219a075e..05d9a884d2d 100755 --- a/Ports/RetroArch/package.sh +++ b/Ports/RetroArch/package.sh @@ -3,7 +3,9 @@ port=RetroArch useconfigure="true" version="1.12.0" archive_hash="c912e32a0300f16ade827d48a4a948d5dab40b764cd1169f61108c6f5803649a" -files="https://github.com/libretro/${port}/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz $archive_hash" +files=( + "https://github.com/libretro/${port}/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz $archive_hash" +) depends=("freetype" "SDL2" "zlib") configopts=( diff --git a/Ports/SDL2-GNUBoy/package.sh b/Ports/SDL2-GNUBoy/package.sh index 5a71973e133..ee91ce3db59 100755 --- a/Ports/SDL2-GNUBoy/package.sh +++ b/Ports/SDL2-GNUBoy/package.sh @@ -3,5 +3,7 @@ port=SDL2-GNUBoy version=1.2.1 useconfigure=false -files="https://github.com/AlexOberhofer/SDL2-GNUBoy/archive/refs/tags/v${version}.tar.gz SDL2-GNUBoy-${version}.tar.gz d8b729aa88747301ed39514ad9dc857b842332ac87242993881e15125af1be20" +files=( + "https://github.com/AlexOberhofer/SDL2-GNUBoy/archive/refs/tags/v${version}.tar.gz SDL2-GNUBoy-${version}.tar.gz d8b729aa88747301ed39514ad9dc857b842332ac87242993881e15125af1be20" +) depends=("SDL2") diff --git a/Ports/SDL2/package.sh b/Ports/SDL2/package.sh index 1447b70237d..dbc7d072140 100755 --- a/Ports/SDL2/package.sh +++ b/Ports/SDL2/package.sh @@ -2,7 +2,9 @@ port='SDL2' version='2.24.0' useconfigure='true' -files="https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz SDL2-${version}.tar.gz 91e4c34b1768f92d399b078e171448c6af18cafda743987ed2064a28954d6d97" +files=( + "https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz SDL2-${version}.tar.gz 91e4c34b1768f92d399b078e171448c6af18cafda743987ed2064a28954d6d97" +) configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DPULSEAUDIO=OFF" diff --git a/Ports/SDL2_gfx/package.sh b/Ports/SDL2_gfx/package.sh index f6636497023..5f3b43f3dc4 100755 --- a/Ports/SDL2_gfx/package.sh +++ b/Ports/SDL2_gfx/package.sh @@ -2,7 +2,9 @@ port=SDL2_gfx version=1.0.4 -files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz 63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262" +files=( + "https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz 63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262" +) depends=("SDL2") useconfigure=true use_fresh_config_sub=true diff --git a/Ports/SDL2_image/package.sh b/Ports/SDL2_image/package.sh index 02c0a73e06a..09c569df32a 100755 --- a/Ports/SDL2_image/package.sh +++ b/Ports/SDL2_image/package.sh @@ -3,7 +3,9 @@ port='SDL2_image' useconfigure='true' version='2.6.2' depends=("SDL2" "libpng" "libjpeg" "libtiff") -files="https://github.com/libsdl-org/SDL_image/releases/download/release-${version}/SDL2_image-${version}.tar.gz SDL2_image-${version}.tar.gz 48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777" +files=( + "https://github.com/libsdl-org/SDL_image/releases/download/release-${version}/SDL2_image-${version}.tar.gz SDL2_image-${version}.tar.gz 48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777" +) configure() { run ./configure \ diff --git a/Ports/SDL2_mixer/package.sh b/Ports/SDL2_mixer/package.sh index 69434f46f91..470b839d9a1 100755 --- a/Ports/SDL2_mixer/package.sh +++ b/Ports/SDL2_mixer/package.sh @@ -2,7 +2,9 @@ port='SDL2_mixer' version='2.6.2' useconfigure='true' -files="https://github.com/libsdl-org/SDL_mixer/releases/download/release-${version}/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz 8cdea810366decba3c33d32b8071bccd1c309b2499a54946d92b48e6922aa371" +files=( + "https://github.com/libsdl-org/SDL_mixer/releases/download/release-${version}/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz 8cdea810366decba3c33d32b8071bccd1c309b2499a54946d92b48e6922aa371" +) depends=("libmodplug" "libmpg123" "libvorbis" "SDL2" "timidity") configure() { diff --git a/Ports/SDL2_net/package.sh b/Ports/SDL2_net/package.sh index e577bb31a98..d0850827250 100755 --- a/Ports/SDL2_net/package.sh +++ b/Ports/SDL2_net/package.sh @@ -7,5 +7,7 @@ configopts=( "--disable-static" "--enable-shared" ) -files="https://github.com/libsdl-org/SDL_net/releases/download/release-${version}/SDL2_net-${version}.tar.gz SDL2_net-${version}.tar.gz 4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb" +files=( + "https://github.com/libsdl-org/SDL_net/releases/download/release-${version}/SDL2_net-${version}.tar.gz SDL2_net-${version}.tar.gz 4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb" +) depends=("SDL2") diff --git a/Ports/SDL2_sound/package.sh b/Ports/SDL2_sound/package.sh index a93331c23de..54bb930450e 100755 --- a/Ports/SDL2_sound/package.sh +++ b/Ports/SDL2_sound/package.sh @@ -5,7 +5,9 @@ _commit='301135a6d0d9bb77c9da0b7f809e9a10d579610f' workdir="SDL_sound-${_commit}" useconfigure='true' depends=('SDL2') -files="https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1" +files=( + "https://github.com/icculus/SDL_sound/archive/${_commit}.zip ${_commit}.zip d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1" +) configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") configure() { diff --git a/Ports/SDL2_ttf/package.sh b/Ports/SDL2_ttf/package.sh index 74017f6588d..291fb1314ab 100755 --- a/Ports/SDL2_ttf/package.sh +++ b/Ports/SDL2_ttf/package.sh @@ -2,7 +2,9 @@ port='SDL2_ttf' version='2.20.1' useconfigure='true' -files="https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57" +files=( + "https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57" +) depends=("SDL2" "freetype") configure() { diff --git a/Ports/SDLPoP/package.sh b/Ports/SDLPoP/package.sh index 6fc07585416..02771af12a5 100755 --- a/Ports/SDLPoP/package.sh +++ b/Ports/SDLPoP/package.sh @@ -6,7 +6,9 @@ depends=("SDL2" "SDL2_image") commitid="86988c668eeaa10f218e1d4938fc5b4e42314d68" workdir="${port}-${commitid}" configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") -files="https://github.com/NagyD/SDLPoP/archive/${commitid}.zip PoP.zip d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5" +files=( + "https://github.com/NagyD/SDLPoP/archive/${commitid}.zip PoP.zip d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5" +) launcher_name="Prince of Persia" launcher_category=Games launcher_command=/opt/PrinceOfPersia/prince diff --git a/Ports/SDL_mixer/package.sh b/Ports/SDL_mixer/package.sh index 4146571c1ed..1984110c75b 100755 --- a/Ports/SDL_mixer/package.sh +++ b/Ports/SDL_mixer/package.sh @@ -5,7 +5,9 @@ useconfigure=true configopts=("--disable-static") use_fresh_config_sub=true config_sub_paths=("build-scripts/config.sub") -files="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${version}.tar.gz SDL_mixer-${version}.tar.gz 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" +files=( + "https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${version}.tar.gz SDL_mixer-${version}.tar.gz 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" +) depends=("libmikmod" "libvorbis" "sdl12-compat" "timidity") # Explicitly point to the config binaries installed by our ports. Otherwise, it will diff --git a/Ports/SDL_sound/package.sh b/Ports/SDL_sound/package.sh index dd64cee5e96..ebb59613add 100755 --- a/Ports/SDL_sound/package.sh +++ b/Ports/SDL_sound/package.sh @@ -4,7 +4,9 @@ version='1.0.3' useconfigure='true' use_fresh_config_sub='true' depends=("sdl12-compat" "libmikmod") -files="https://www.icculus.org/SDL_sound/downloads/${port}-${version}.tar.gz ${port}-${version}.tar.gz 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df" +files=( + "https://www.icculus.org/SDL_sound/downloads/${port}-${version}.tar.gz ${port}-${version}.tar.gz 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df" +) configopts=( "--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--enable-ogg=no" diff --git a/Ports/Super-Mario/package.sh b/Ports/Super-Mario/package.sh index f6d594cd01b..653380271e9 100755 --- a/Ports/Super-Mario/package.sh +++ b/Ports/Super-Mario/package.sh @@ -5,7 +5,9 @@ version=git depends=("SDL2" "SDL2_mixer" "SDL2_image") workdir=Super-Mario-Clone-Cpp-master configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") -files="https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip master.zip fcacc15d3b5afccb3227f982d3e05f2cfeb198f0fffd008fdcda005cb7f87f91" +files=( + "https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip master.zip fcacc15d3b5afccb3227f982d3e05f2cfeb198f0fffd008fdcda005cb7f87f91" +) launcher_name="Super Mario" launcher_category=Games launcher_command=/opt/Super_Mario/uMario diff --git a/Ports/SuperTuxKart/package.sh b/Ports/SuperTuxKart/package.sh index 9e16c48f627..1f57e0ddf6e 100755 --- a/Ports/SuperTuxKart/package.sh +++ b/Ports/SuperTuxKart/package.sh @@ -3,7 +3,9 @@ port=SuperTuxKart useconfigure='true' version='1.4' archive_hash='9890392419baf4715313f14d5ad60746f276eed36eb580636caf44e2532c0f03' -files="https://github.com/supertuxkart/stk-code/releases/download/${version}/supertuxkart-${version}-src.tar.xz ${port}-${version}-src.tar.xz $archive_hash" +files=( + "https://github.com/supertuxkart/stk-code/releases/download/${version}/supertuxkart-${version}-src.tar.xz ${port}-${version}-src.tar.xz $archive_hash" +) workdir="${port}-${version}-src" launcher_name='SuperTuxKart' launcher_category='Games' diff --git a/Ports/VVVVVV/package.sh b/Ports/VVVVVV/package.sh index aae1e6df2da..6fc2abb7659 100755 --- a/Ports/VVVVVV/package.sh +++ b/Ports/VVVVVV/package.sh @@ -2,7 +2,9 @@ port='VVVVVV' version='2.3.6' useconfigure='true' -files="https://github.com/TerryCavanagh/VVVVVV/archive/refs/tags/${version}.tar.gz VVVVVV-${version}.tar.gz a3366aab9e8462d330044ab1ec63927e9f5c3801c0ed96b24f08c553dcb911e9" +files=( + "https://github.com/TerryCavanagh/VVVVVV/archive/refs/tags/${version}.tar.gz VVVVVV-${version}.tar.gz a3366aab9e8462d330044ab1ec63927e9f5c3801c0ed96b24f08c553dcb911e9" +) configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DCMAKE_BUILD_TYPE=Release" diff --git a/Ports/aclock/package.sh b/Ports/aclock/package.sh index cd1d80f2b29..73ffe1e0680 100755 --- a/Ports/aclock/package.sh +++ b/Ports/aclock/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='aclock' version='2.3' -files="https://github.com/tenox7/aclock/raw/f9668617eac365fe8b5416cfbd801b727d8a3746/sources/aclock-unix-curses.c aclock-${version}.c 2b098996409c4740f492fb8fd5a63cb5e3e15283c2f7e3f06c75d6a9ad916669" +files=( + "https://github.com/tenox7/aclock/raw/f9668617eac365fe8b5416cfbd801b727d8a3746/sources/aclock-unix-curses.c aclock-${version}.c 2b098996409c4740f492fb8fd5a63cb5e3e15283c2f7e3f06c75d6a9ad916669" +) depends=("ncurses") build() { diff --git a/Ports/acpica-tools/package.sh b/Ports/acpica-tools/package.sh index ff117049749..7d825d7f9be 100755 --- a/Ports/acpica-tools/package.sh +++ b/Ports/acpica-tools/package.sh @@ -2,7 +2,9 @@ port=acpica-tools version='R06_28_23' workdir="acpica-${version}" -files="https://github.com/acpica/acpica/archive/refs/tags/${version}.tar.gz acpica-${version}.tar.gz 2248799b7ca08a7711ac87d31924354ed49047507607d033bd327ba861ec4d31" +files=( + "https://github.com/acpica/acpica/archive/refs/tags/${version}.tar.gz acpica-${version}.tar.gz 2248799b7ca08a7711ac87d31924354ed49047507607d033bd327ba861ec4d31" +) build() { diff --git a/Ports/alpine/package.sh b/Ports/alpine/package.sh index e1ecd8a9358..26dacee1cf1 100755 --- a/Ports/alpine/package.sh +++ b/Ports/alpine/package.sh @@ -8,7 +8,9 @@ configopts=( ) use_fresh_config_sub='true' use_fresh_config_guess='true' -files="https://alpineapp.email/alpine/release/src/alpine-2.26.tar.xz alpine-${version}.tar.xz c0779c2be6c47d30554854a3e14ef5e36539502b331068851329275898a9baba" +files=( + "https://alpineapp.email/alpine/release/src/alpine-2.26.tar.xz alpine-${version}.tar.xz c0779c2be6c47d30554854a3e14ef5e36539502b331068851329275898a9baba" +) depends=( 'openssl' 'ncurses' diff --git a/Ports/angband/package.sh b/Ports/angband/package.sh index 5ddaa3dfdc8..0759eb72985 100755 --- a/Ports/angband/package.sh +++ b/Ports/angband/package.sh @@ -4,7 +4,9 @@ version=4.2.4 workdir="Angband-${version}" useconfigure=true use_fresh_config_sub=true -files="https://github.com/angband/angband/releases/download/${version}/Angband-${version}.tar.gz Angband-${version}.tar.gz a07c78c1dd05e48ddbe4d8ef5d1880fcdeab55fd05f1336d9cba5dd110b15ff3" +files=( + "https://github.com/angband/angband/releases/download/${version}/Angband-${version}.tar.gz Angband-${version}.tar.gz a07c78c1dd05e48ddbe4d8ef5d1880fcdeab55fd05f1336d9cba5dd110b15ff3" +) depends=("ncurses" "SDL2" "SDL2_image" "SDL2_ttf" "SDL2_mixer") configopts=( "--prefix=/usr/local" diff --git a/Ports/aria2/package.sh b/Ports/aria2/package.sh index f3726bab757..5a18f2f79d2 100755 --- a/Ports/aria2/package.sh +++ b/Ports/aria2/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='aria2' version='1.36.0' -files="https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz ${port}-${version}.tar.xz 58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5" +files=( + "https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz ${port}-${version}.tar.xz 58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5" +) depends=( "libssh2" "libxml2" diff --git a/Ports/awk/package.sh b/Ports/awk/package.sh index 878873ecf1e..13d503a2b08 100755 --- a/Ports/awk/package.sh +++ b/Ports/awk/package.sh @@ -2,7 +2,9 @@ port=awk version=20220122 useconfigure="false" -files="https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz awk-${version}.tar.gz 720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042" +files=( + "https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz awk-${version}.tar.gz 720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042" +) patchlevel=1 build() { diff --git a/Ports/backward-cpp/package.sh b/Ports/backward-cpp/package.sh index c577bb75a48..ce02894fb17 100755 --- a/Ports/backward-cpp/package.sh +++ b/Ports/backward-cpp/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='backward-cpp' version='65a769f' -files="https://github.com/bombela/backward-cpp/tarball/65a769ffe77cf9d759d801bc792ac56af8e911a3 backward-cpp-${version}.tar.gz 233271162bf09ce7c41026416e5d6f59a66f42f83c3ea370f110980ac219144a" +files=( + "https://github.com/bombela/backward-cpp/tarball/65a769ffe77cf9d759d801bc792ac56af8e911a3 backward-cpp-${version}.tar.gz 233271162bf09ce7c41026416e5d6f59a66f42f83c3ea370f110980ac219144a" +) workdir="bombela-backward-cpp-${version}" useconfigure='true' configopts=( diff --git a/Ports/bash/package.sh b/Ports/bash/package.sh index dfb6d185bdd..9c1daa27b7b 100755 --- a/Ports/bash/package.sh +++ b/Ports/bash/package.sh @@ -7,7 +7,9 @@ use_fresh_config_guess='true' config_sub_paths=("support/config.sub") config_guess_paths=("support/config.guess") configopts=("--disable-nls" "--without-bash-malloc") -files="https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c" +files=( + "https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c" +) build() { run_replace_in_file "s/define GETCWD_BROKEN 1/undef GETCWD_BROKEN/" config.h diff --git a/Ports/bass/package.sh b/Ports/bass/package.sh index ae633ba5d0f..d952861c368 100755 --- a/Ports/bass/package.sh +++ b/Ports/bass/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=bass version="cd-1.2" -files="https://downloads.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/bass-${version}.zip bass-${version}.zip 53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593" +files=( + "https://downloads.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/bass-${version}.zip bass-${version}.zip 53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593" +) depends=("scummvm") bass_resource_path="/usr/local/share/games/${port}-${version}" diff --git a/Ports/bc/package.sh b/Ports/bc/package.sh index 145fe9d0c82..7a487b03675 100755 --- a/Ports/bc/package.sh +++ b/Ports/bc/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='bc' version='6.5.0' -files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz b1afb1f50c0bce6119c98590bcc8afc22f520bc85c2b512c83938dbb8321cc30" +files=( + "https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz b1afb1f50c0bce6119c98590bcc8afc22f520bc85c2b512c83938dbb8321cc30" +) useconfigure='true' configscript='configure.sh' configopts=("--prefix=/usr/local" "--disable-nls") diff --git a/Ports/bdwgc/package.sh b/Ports/bdwgc/package.sh index bdd9156bfad..1451f021a18 100755 --- a/Ports/bdwgc/package.sh +++ b/Ports/bdwgc/package.sh @@ -3,7 +3,9 @@ port='bdwgc' version='8.2.2' use_fresh_config_sub='true' -files="https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz bdwgc.tar.gz f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0" +files=( + "https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz bdwgc.tar.gz f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0" +) depends=("libatomic_ops") workdir="gc-$version" diff --git a/Ports/binutils/package.sh b/Ports/binutils/package.sh index 16b2c9cae6a..9c994e70aad 100755 --- a/Ports/binutils/package.sh +++ b/Ports/binutils/package.sh @@ -12,7 +12,9 @@ configopts=( "--disable-nls" "--enable-libiberty" ) -files="https://ftpmirror.gnu.org/gnu/binutils/binutils-${version}.tar.xz binutils-${version}.tar.xz 0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1" +files=( + "https://ftpmirror.gnu.org/gnu/binutils/binutils-${version}.tar.xz binutils-${version}.tar.xz 0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1" +) depends=("zlib") export ac_cv_func_getrusage=no diff --git a/Ports/bison/package.sh b/Ports/bison/package.sh index a6ca4cb5d95..0589753e539 100755 --- a/Ports/bison/package.sh +++ b/Ports/bison/package.sh @@ -3,4 +3,6 @@ port='bison' version='3.8' useconfigure='true' configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local") -files="https://ftpmirror.gnu.org/gnu/bison/bison-${version}.tar.gz bison-${version}.tar.gz d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458" +files=( + "https://ftpmirror.gnu.org/gnu/bison/bison-${version}.tar.gz bison-${version}.tar.gz d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458" +) diff --git a/Ports/bochs/package.sh b/Ports/bochs/package.sh index bd707556fb6..c01d2e833b6 100755 --- a/Ports/bochs/package.sh +++ b/Ports/bochs/package.sh @@ -2,7 +2,9 @@ port=bochs version=2.7 depends=("SDL2") -files="https://download.sourceforge.net/project/bochs/bochs/$version/bochs-$version.tar.gz bochs-${version}.tar.gz a010ab1bfdc72ac5a08d2e2412cd471c0febd66af1d9349bc0d796879de5b17a" +files=( + "https://download.sourceforge.net/project/bochs/bochs/$version/bochs-$version.tar.gz bochs-${version}.tar.gz a010ab1bfdc72ac5a08d2e2412cd471c0febd66af1d9349bc0d796879de5b17a" +) useconfigure=true use_fresh_config_sub=true configopts=("--with-sdl2") diff --git a/Ports/boost/package.sh b/Ports/boost/package.sh index 9d44db09bcd..9c964b946f6 100755 --- a/Ports/boost/package.sh +++ b/Ports/boost/package.sh @@ -10,7 +10,9 @@ depends=( 'xz' 'libicu' ) -files="https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${version//./_}.tar.bz2 boost_${version//./_}.tar.bz2 1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0" +files=( + "https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${version//./_}.tar.bz2 boost_${version//./_}.tar.bz2 1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0" +) bjamopts=( '--user-config=user-config.jam' 'toolset=gcc' diff --git a/Ports/brogue/package.sh b/Ports/brogue/package.sh index 8ef32da0f10..270f8112629 100755 --- a/Ports/brogue/package.sh +++ b/Ports/brogue/package.sh @@ -3,7 +3,9 @@ port='brogue' depends=("SDL2" "SDL2_image") version='1.11.1' workdir="BrogueCE-${version}" -files="https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz brogue-${version}.tar.gz dc562cf774f88b12b6aeebdac5a00e62e8598b3f84da2130a54a67a60c5debf2" +files=( + "https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz brogue-${version}.tar.gz dc562cf774f88b12b6aeebdac5a00e62e8598b3f84da2130a54a67a60c5debf2" +) makeopts+=("bin/brogue") install() { diff --git a/Ports/brotli/package.sh b/Ports/brotli/package.sh index ebb8d692377..2720d75c97f 100755 --- a/Ports/brotli/package.sh +++ b/Ports/brotli/package.sh @@ -2,7 +2,9 @@ port='brotli' version='1.0.9' -files="https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz brotli-v${version}.tar.gz f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46" +files=( + "https://github.com/google/brotli/archive/refs/tags/v${version}.tar.gz brotli-v${version}.tar.gz f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46" +) useconfigure='true' configure() { diff --git a/Ports/byacc/package.sh b/Ports/byacc/package.sh index 8693aae181f..0cced79dd0d 100755 --- a/Ports/byacc/package.sh +++ b/Ports/byacc/package.sh @@ -1,5 +1,7 @@ #!/usr/bin/env -S bash ../.port_include.sh port=byacc version=20220128 -files="https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz byacc-${version}.tgz 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c" +files=( + "https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz byacc-${version}.tgz 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c" +) useconfigure=true diff --git a/Ports/bzip2/package.sh b/Ports/bzip2/package.sh index 691ecbc5eed..633cb8975f8 100755 --- a/Ports/bzip2/package.sh +++ b/Ports/bzip2/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=bzip2 version=1.0.8 -files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269" +files=( + "https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269" +) makeopts=("bzip2") installopts=("PREFIX=${SERENITY_INSTALL_ROOT}/usr/local") diff --git a/Ports/bzip3/package.sh b/Ports/bzip3/package.sh index 89ab8e57270..3b7fdde5266 100755 --- a/Ports/bzip3/package.sh +++ b/Ports/bzip3/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='bzip3' version='1.2.2' -files="https://github.com/kspalaiologos/bzip3/releases/download/${version}/bzip3-${version}.tar.gz bzip3-${version}.tar.gz 19e8d379f48610f945a04a988fd0c330ff6613b3df96405d56bed35a7d216dee" +files=( + "https://github.com/kspalaiologos/bzip3/releases/download/${version}/bzip3-${version}.tar.gz bzip3-${version}.tar.gz 19e8d379f48610f945a04a988fd0c330ff6613b3df96405d56bed35a7d216dee" +) useconfigure='true' installopts=("PREFIX=${SERENITY_INSTALL_ROOT}/usr/local") configopts=( diff --git a/Ports/c-ares/package.sh b/Ports/c-ares/package.sh index 5bda71672f8..191cb84ef1e 100755 --- a/Ports/c-ares/package.sh +++ b/Ports/c-ares/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='c-ares' version='1.19.0' -files="https://c-ares.org/download/c-ares-${version}.tar.gz c-ares-${version}.tar.gz bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3" +files=( + "https://c-ares.org/download/c-ares-${version}.tar.gz c-ares-${version}.tar.gz bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3" +) useconfigure=true configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") diff --git a/Ports/c-ray/package.sh b/Ports/c-ray/package.sh index 14788136a6e..4cb2ca9d6d8 100755 --- a/Ports/c-ray/package.sh +++ b/Ports/c-ray/package.sh @@ -2,7 +2,9 @@ port=c-ray version=8f30eb9904a4d20a78e9387d79dc049c5ed69b0c useconfigure=true -files="https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 27fa6496721faf69f18dc0946f0747b64f3ced748440a8f906f51fcb7e5cb008" +files=( + "https://github.com/vkoskiv/c-ray/archive/${version}.tar.gz ${version}.tar.gz 27fa6496721faf69f18dc0946f0747b64f3ced748440a8f906f51fcb7e5cb008" +) configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") depends=("SDL2") workdir="${port}-${version}" diff --git a/Ports/ca-certificates/package.sh b/Ports/ca-certificates/package.sh index 7051790bfb5..a1a79896e4f 100755 --- a/Ports/ca-certificates/package.sh +++ b/Ports/ca-certificates/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=ca-certificates version=2022-04-26 -files="https://curl.se/ca/cacert-${version}.pem cacert-${version}.pem 08df40e8f528ed283b0e480ba4bcdbfdd2fdcf695a7ada1668243072d80f8b6f" +files=( + "https://curl.se/ca/cacert-${version}.pem cacert-${version}.pem 08df40e8f528ed283b0e480ba4bcdbfdd2fdcf695a7ada1668243072d80f8b6f" +) workdir="." configure() { diff --git a/Ports/carl/package.sh b/Ports/carl/package.sh index 2b8056aed17..cfbbde0eee7 100755 --- a/Ports/carl/package.sh +++ b/Ports/carl/package.sh @@ -2,7 +2,9 @@ port=carl version=1.5 workdir=cryanc-"${version}" -files="https://github.com/classilla/cryanc/archive/refs/tags/${version}.tar.gz cryanc-${version}.tar.gz 019c2a4df4ce5a332fc29b7903244d6a76bb0bd8bb3e406326b6239416a5b0f6" +files=( + "https://github.com/classilla/cryanc/archive/refs/tags/${version}.tar.gz cryanc-${version}.tar.gz 019c2a4df4ce5a332fc29b7903244d6a76bb0bd8bb3e406326b6239416a5b0f6" +) build() { run $CC -O3 carl.c -o carl diff --git a/Ports/cavestory/package.sh b/Ports/cavestory/package.sh index 2c312a8a1c3..90f8fdf783e 100755 --- a/Ports/cavestory/package.sh +++ b/Ports/cavestory/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='cavestory' version='2.6.5-1' -files=('https://github.com/gloof11/nxengine-evo/archive/b427ed7bcd403a4dbb07703fe0eb015c3350bbfc.zip nxengine-evo-b427ed7bcd403a4dbb07703fe0eb015c3350bbfc.zip 83e66960e27ec928d1217439754f0dd733765ecaf760c02832e5b35f4858ea8a') +files=( + 'https://github.com/gloof11/nxengine-evo/archive/b427ed7bcd403a4dbb07703fe0eb015c3350bbfc.zip nxengine-evo-b427ed7bcd403a4dbb07703fe0eb015c3350bbfc.zip 83e66960e27ec928d1217439754f0dd733765ecaf760c02832e5b35f4858ea8a' +) depends=( 'libjpeg' 'libpng' diff --git a/Ports/cbonsai/package.sh b/Ports/cbonsai/package.sh index 04f46cd833d..c0a225fbbcb 100755 --- a/Ports/cbonsai/package.sh +++ b/Ports/cbonsai/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='cbonsai' version='1.3.1' -files="https://gitlab.com/jallbrit/cbonsai/-/archive/v${version}/cbonsai-v${version}.tar cbonsai-v${version}.tar.bz2 686e4af58f8e44e09b689da6e9a98a404fc0a779da7c7da1a5403283e0e471d8" +files=( + "https://gitlab.com/jallbrit/cbonsai/-/archive/v${version}/cbonsai-v${version}.tar cbonsai-v${version}.tar.bz2 686e4af58f8e44e09b689da6e9a98a404fc0a779da7c7da1a5403283e0e471d8" +) workdir="cbonsai-v${version}" makeopts+=(CC="${CC}") depends=("ncurses") diff --git a/Ports/ccache/package.sh b/Ports/ccache/package.sh index 1055fbcaab9..218887e1e82 100755 --- a/Ports/ccache/package.sh +++ b/Ports/ccache/package.sh @@ -2,7 +2,9 @@ port='ccache' version='4.6.3' useconfigure='true' -files="https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.gz ccache-$version.tar.gz f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05" +files=( + "https://github.com/ccache/ccache/releases/download/v${version}/ccache-${version}.tar.gz ccache-$version.tar.gz f46ba3706ad80c30d4d5874dee2bf9227a7fcd0ccaac31b51919a3053d84bd05" +) depends=('zstd') configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" diff --git a/Ports/cfunge/package.sh b/Ports/cfunge/package.sh index a747eca85af..f22b163faa9 100755 --- a/Ports/cfunge/package.sh +++ b/Ports/cfunge/package.sh @@ -3,7 +3,9 @@ port='cfunge' version='2bc4fb27ade2a816ca9a90a6d9f6958111123fa9' useconfigure='true' -files="https://codeload.github.com/VorpalBlade/cfunge/zip/${version} cfunge.zip 364994a890ed1083684956db576a2a5cfb94b3117bae868910d6a75111033f55" +files=( + "https://codeload.github.com/VorpalBlade/cfunge/zip/${version} cfunge.zip 364994a890ed1083684956db576a2a5cfb94b3117bae868910d6a75111033f55" +) configure() { run cmake -B build "${configopts[@]}" diff --git a/Ports/chester/package.sh b/Ports/chester/package.sh index 451bf9d52f4..01252db0cdc 100755 --- a/Ports/chester/package.sh +++ b/Ports/chester/package.sh @@ -5,7 +5,9 @@ version=git depends=("SDL2") workdir=chester-public configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") -files="https://github.com/veikkos/chester/archive/public.tar.gz chester.tar.gz b3ea7ad40608e1050fa434258f5c69b93e7bad10523c4c4a86fe08d1442a907b" +files=( + "https://github.com/veikkos/chester/archive/public.tar.gz chester.tar.gz b3ea7ad40608e1050fa434258f5c69b93e7bad10523c4c4a86fe08d1442a907b" +) configure() { run cmake "${configopts[@]}" diff --git a/Ports/chocolate-doom/package.sh b/Ports/chocolate-doom/package.sh index c6609c61dd4..d20ad9723ec 100755 --- a/Ports/chocolate-doom/package.sh +++ b/Ports/chocolate-doom/package.sh @@ -4,7 +4,9 @@ version='3.0.1' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('autotools/config.sub') -files="https://www.chocolate-doom.org/downloads/${version}/chocolate-doom-${version}.tar.gz chocolate-doom-${version}.tar.gz d435d6177423491d60be706da9f07d3ab4fabf3e077ec2a3fc216e394fcfc8c7" +files=( + "https://www.chocolate-doom.org/downloads/${version}/chocolate-doom-${version}.tar.gz chocolate-doom-${version}.tar.gz d435d6177423491d60be706da9f07d3ab4fabf3e077ec2a3fc216e394fcfc8c7" +) depends=( 'libpng' 'libsamplerate' diff --git a/Ports/citron/package.sh b/Ports/citron/package.sh index 7001d84b508..1b5cbbc44f4 100755 --- a/Ports/citron/package.sh +++ b/Ports/citron/package.sh @@ -5,7 +5,9 @@ useconfigure=false depends=(sparsehash libffi pcre) commit_hash=d28b7d62bd61397e46152aa6e4ee59b115c0e2d7 archive_hash=0e31ab638c4fd1438f68fdf069336e2541eb4cfc5db2f55888f6175e0171a2ef -files="https://github.com/alimpfard/citron/archive/$commit_hash.tar.gz citron.tar.gz $archive_hash" +files=( + "https://github.com/alimpfard/citron/archive/$commit_hash.tar.gz citron.tar.gz $archive_hash" +) workdir="citron-$commit_hash" pre_install() { diff --git a/Ports/cmake/package.sh b/Ports/cmake/package.sh index fea215f6119..d4a831650f0 100755 --- a/Ports/cmake/package.sh +++ b/Ports/cmake/package.sh @@ -3,7 +3,9 @@ port='cmake' # NOTE: keep this version aligned with Toolchain/BuildCMake.sh version='3.26.4' useconfigure='true' -files="https://github.com/Kitware/CMake/releases/download/v${version}/cmake-${version}.tar.gz cmake-${version}.tar.gz 313b6880c291bd4fe31c0aa51d6e62659282a521e695f30d5cc0d25abbd5c208" +files=( + "https://github.com/Kitware/CMake/releases/download/v${version}/cmake-${version}.tar.gz cmake-${version}.tar.gz 313b6880c291bd4fe31c0aa51d6e62659282a521e695f30d5cc0d25abbd5c208" +) depends=( 'bash' 'make' diff --git a/Ports/cmatrix/package.sh b/Ports/cmatrix/package.sh index 32fe9a430f5..53220820861 100755 --- a/Ports/cmatrix/package.sh +++ b/Ports/cmatrix/package.sh @@ -4,7 +4,9 @@ useconfigure=true version=3112b127babe72d2222059edd2d7eb7fb8bddfb1 depends=("ncurses") configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") -files="https://github.com/abishekvashok/cmatrix/archive/${version}.tar.gz ${port}-${version}.tar.gz a1d313d49a39cb5ae3a1c675872712f9f871114a161c38cbe94ce78967825f87" +files=( + "https://github.com/abishekvashok/cmatrix/archive/${version}.tar.gz ${port}-${version}.tar.gz a1d313d49a39cb5ae3a1c675872712f9f871114a161c38cbe94ce78967825f87" +) launcher_name=cmatrix launcher_category=Games launcher_command=cmatrix diff --git a/Ports/composer/package.sh b/Ports/composer/package.sh index a4438ebd1aa..29ed2467a36 100755 --- a/Ports/composer/package.sh +++ b/Ports/composer/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='composer' version='2.4.3' -files="https://getcomposer.org/download/${version}/composer.phar composer.phar 26d72f2790502bc9b22209e1cec1e0e43d33b368606ad227d327cccb388b609a" +files=( + "https://getcomposer.org/download/${version}/composer.phar composer.phar 26d72f2790502bc9b22209e1cec1e0e43d33b368606ad227d327cccb388b609a" +) depends=('php') build() { diff --git a/Ports/coreutils/package.sh b/Ports/coreutils/package.sh index bc6f73a7c25..8235767a834 100755 --- a/Ports/coreutils/package.sh +++ b/Ports/coreutils/package.sh @@ -4,7 +4,9 @@ version=9.1 useconfigure="true" use_fresh_config_sub="true" config_sub_paths=("build-aux/config.sub") -files="https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz coreutils-${version}.tar.gz 6055df9268603e8239a5c9c1d64cb25b9a992530df66e33b8d78a660edb37b35" +files=( + "https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz coreutils-${version}.tar.gz 6055df9268603e8239a5c9c1d64cb25b9a992530df66e33b8d78a660edb37b35" +) # Exclude some non-working utilities: # - arch, coreutils, and hostname are already excluded in the default configuration diff --git a/Ports/cowsay/package.sh b/Ports/cowsay/package.sh index a9380331f31..4fbae9d0ba2 100755 --- a/Ports/cowsay/package.sh +++ b/Ports/cowsay/package.sh @@ -3,7 +3,9 @@ port='cowsay' version='3.04' depends=('perl5') useconfigure='false' -files="https://github.com/tnalpgge/rank-amateur-cowsay/archive/refs/tags/cowsay-${version}.tar.gz cowsay-${version}.tar.gz d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b" +files=( + "https://github.com/tnalpgge/rank-amateur-cowsay/archive/refs/tags/cowsay-${version}.tar.gz cowsay-${version}.tar.gz d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b" +) workdir="rank-amateur-cowsay-cowsay-${version}/" prefix='/usr/local' diff --git a/Ports/cpio/package.sh b/Ports/cpio/package.sh index 29e31fb7065..d548498cfe6 100755 --- a/Ports/cpio/package.sh +++ b/Ports/cpio/package.sh @@ -4,4 +4,6 @@ version='2.13' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('build-aux/config.sub') -files="https://ftpmirror.gnu.org/gnu/cpio/cpio-${version}.tar.gz cpio-${version}.tar.gz e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88" +files=( + "https://ftpmirror.gnu.org/gnu/cpio/cpio-${version}.tar.gz cpio-${version}.tar.gz e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88" +) diff --git a/Ports/curl/package.sh b/Ports/curl/package.sh index 6d0cb27e695..e894631eb24 100755 --- a/Ports/curl/package.sh +++ b/Ports/curl/package.sh @@ -2,7 +2,9 @@ port='curl' version='8.2.0' useconfigure='true' -files="https://curl.se/download/curl-${version}.tar.bz2 curl-${version}.tar.bz2 080aaa5bef29ab3f592101e7a95f32ddbe88b92125cb28dde479d5a104928ea4" +files=( + "https://curl.se/download/curl-${version}.tar.bz2 curl-${version}.tar.bz2 080aaa5bef29ab3f592101e7a95f32ddbe88b92125cb28dde479d5a104928ea4" +) depends=( 'ca-certificates' 'openssl' diff --git a/Ports/dash/package.sh b/Ports/dash/package.sh index 199204a7ff5..1e6436e2471 100755 --- a/Ports/dash/package.sh +++ b/Ports/dash/package.sh @@ -2,7 +2,9 @@ port=dash version=0.5.10.2 useconfigure=true -files="http://gondor.apana.org.au/~herbert/dash/files/dash-${version}.tar.gz dash-${version}.tar.gz 3c663919dc5c66ec991da14c7cf7e0be8ad00f3db73986a987c118862b5f6071" +files=( + "http://gondor.apana.org.au/~herbert/dash/files/dash-${version}.tar.gz dash-${version}.tar.gz 3c663919dc5c66ec991da14c7cf7e0be8ad00f3db73986a987c118862b5f6071" +) configure() { host_env diff --git a/Ports/deutex/package.sh b/Ports/deutex/package.sh index ae3ee0bb954..022b04df7d6 100755 --- a/Ports/deutex/package.sh +++ b/Ports/deutex/package.sh @@ -2,7 +2,9 @@ port='deutex' version='5.2.2' useconfigure='true' -files="https://github.com/Doom-Utils/deutex/releases/download/v${version}/deutex-${version}.tar.zst deutex-${version}.tar.zst 10ed0e7a533ec97cb6d03548d4258fbec88852a45b5ea4cf5434376ad4174b5f" +files=( + "https://github.com/Doom-Utils/deutex/releases/download/v${version}/deutex-${version}.tar.zst deutex-${version}.tar.zst 10ed0e7a533ec97cb6d03548d4258fbec88852a45b5ea4cf5434376ad4174b5f" +) depends=( 'libpng' ) diff --git a/Ports/dialog/package.sh b/Ports/dialog/package.sh index 7b0255fcc1c..886cc1bbf46 100755 --- a/Ports/dialog/package.sh +++ b/Ports/dialog/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='dialog' version='1.3-20220526' -files="https://invisible-mirror.net/archives/dialog/dialog-${version}.tgz dialog-${version}.tgz 858c9a625b20fde19fb7b19949ee9e9efcade23c56d917b1adb30e98ff6d6b33" +files=( + "https://invisible-mirror.net/archives/dialog/dialog-${version}.tgz dialog-${version}.tgz 858c9a625b20fde19fb7b19949ee9e9efcade23c56d917b1adb30e98ff6d6b33" +) useconfigure='true' use_fresh_config_sub='true' configopts=("--prefix=/usr/local" "--with-ncurses" "--with-curses-dir=${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses") diff --git a/Ports/diffutils/package.sh b/Ports/diffutils/package.sh index 0bdfb9fa08a..7a86d7a457b 100755 --- a/Ports/diffutils/package.sh +++ b/Ports/diffutils/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=diffutils version=3.8 -files="https://ftpmirror.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz diffutils-${version}.tar.xz a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec" +files=( + "https://ftpmirror.gnu.org/gnu/diffutils/diffutils-${version}.tar.xz diffutils-${version}.tar.xz a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec" +) useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") diff --git a/Ports/dmidecode/package.sh b/Ports/dmidecode/package.sh index 5eb9ab2b2f0..83c5cadaf68 100755 --- a/Ports/dmidecode/package.sh +++ b/Ports/dmidecode/package.sh @@ -1,4 +1,6 @@ #!/usr/bin/env -S bash ../.port_include.sh port='dmidecode' version='3.5' -files="https://download-mirror.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz dmidecode-${version}.tar.xz 79d76735ee8e25196e2a722964cf9683f5a09581503537884b256b01389cc073" +files=( + "https://download-mirror.savannah.gnu.org/releases/dmidecode/dmidecode-${version}.tar.xz dmidecode-${version}.tar.xz 79d76735ee8e25196e2a722964cf9683f5a09581503537884b256b01389cc073" +) diff --git a/Ports/doom/package.sh b/Ports/doom/package.sh index 0d38aa31486..6079ec66b15 100755 --- a/Ports/doom/package.sh +++ b/Ports/doom/package.sh @@ -3,7 +3,9 @@ port='doom' commit_hash='613f870b6fa83ede448a247de5a2571092fa729d' workdir="doomgeneric-${commit_hash}" version='git' -files="https://github.com/ozkl/doomgeneric/archive/${commit_hash}.tar.gz doom-git.tar.gz fabc3e41aca92f58dfdd284754891c17875ec8c995948b49396ead6bc05b8676" +files=( + "https://github.com/ozkl/doomgeneric/archive/${commit_hash}.tar.gz doom-git.tar.gz fabc3e41aca92f58dfdd284754891c17875ec8c995948b49396ead6bc05b8676" +) depends=( 'SDL2' 'SDL2_mixer' diff --git a/Ports/dos2unix/package.sh b/Ports/dos2unix/package.sh index 34263bd0450..153bcc521a2 100755 --- a/Ports/dos2unix/package.sh +++ b/Ports/dos2unix/package.sh @@ -2,5 +2,7 @@ port=dos2unix version=7.5.0 workdir="${port}-${version}" -files="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz ${port}-${version}.tar.gz 7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af" +files=( + "https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz ${port}-${version}.tar.gz 7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af" +) depends=("gettext") diff --git a/Ports/dosbox-staging/package.sh b/Ports/dosbox-staging/package.sh index 56d8eb89073..553aa40599e 100755 --- a/Ports/dosbox-staging/package.sh +++ b/Ports/dosbox-staging/package.sh @@ -12,7 +12,9 @@ configopts=( '-Duse_opengl=false' '-Duse_png=false' ) -files="https://github.com/dosbox-staging/dosbox-staging/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 85359efb7cd5c5c0336d88bdf023b7b462a8233490e00274fef0b85cca2f5f3c" +files=( + "https://github.com/dosbox-staging/dosbox-staging/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 85359efb7cd5c5c0336d88bdf023b7b462a8233490e00274fef0b85cca2f5f3c" +) depends=( 'libslirp' 'libpng' diff --git a/Ports/dosfstools/package.sh b/Ports/dosfstools/package.sh index 65cf38ec837..8bd4a1cc7ad 100755 --- a/Ports/dosfstools/package.sh +++ b/Ports/dosfstools/package.sh @@ -4,7 +4,9 @@ version='4.2' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('config.sub') -files="https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz dosfstools-${version}.tar.gz 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" +files=( + "https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz dosfstools-${version}.tar.gz 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" +) configopts=( "--enable-compat-symlinks" ) diff --git a/Ports/double-conversion/package.sh b/Ports/double-conversion/package.sh index c058a733196..d57b8925cd2 100755 --- a/Ports/double-conversion/package.sh +++ b/Ports/double-conversion/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='double-conversion' version='3.2.1' -files="https://github.com/google/double-conversion/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz e40d236343cad807e83d192265f139481c51fc83a1c49e406ac6ce0a0ba7cd35" +files=( + "https://github.com/google/double-conversion/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz e40d236343cad807e83d192265f139481c51fc83a1c49e406ac6ce0a0ba7cd35" +) useconfigure='true' configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" diff --git a/Ports/drascula/package.sh b/Ports/drascula/package.sh index 1ecc0593d12..0e5b8c41ae0 100755 --- a/Ports/drascula/package.sh +++ b/Ports/drascula/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=drascula version="1.0" -files="https://downloads.scummvm.org/frs/extras/Drascula_%20The%20Vampire%20Strikes%20Back/drascula-1.0.zip ${port}-${version}.zip b731f6cb5a22ba8b4c3b3362f570b9a10a67b6cb0b395394b19a94b36e4e42de" +files=( + "https://downloads.scummvm.org/frs/extras/Drascula_%20The%20Vampire%20Strikes%20Back/drascula-1.0.zip ${port}-${version}.zip b731f6cb5a22ba8b4c3b3362f570b9a10a67b6cb0b395394b19a94b36e4e42de" +) depends=("scummvm") resource_path="/usr/local/share/games/${port}-${version}" diff --git a/Ports/dreamweb/package.sh b/Ports/dreamweb/package.sh index 3b22faae9d7..b2375f58641 100755 --- a/Ports/dreamweb/package.sh +++ b/Ports/dreamweb/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=dreamweb version="1.1" -files="https://downloads.scummvm.org/frs/extras/Dreamweb/dreamweb-cd-uk-1.1.zip ${port}-${version}.zip 4a6f13911ce67d62c526e41048ec067b279f1b378c9210f39e0ce8d3f2b80142" +files=( + "https://downloads.scummvm.org/frs/extras/Dreamweb/dreamweb-cd-uk-1.1.zip ${port}-${version}.zip 4a6f13911ce67d62c526e41048ec067b279f1b378c9210f39e0ce8d3f2b80142" +) depends=("scummvm") resource_path="/usr/local/share/games/${port}-${version}" diff --git a/Ports/dropbear/package.sh b/Ports/dropbear/package.sh index a80edf45d0b..584e1e0d78c 100755 --- a/Ports/dropbear/package.sh +++ b/Ports/dropbear/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=dropbear version=2022.82 -files="https://mirror.dropbear.nl/mirror/releases/dropbear-${version}.tar.bz2 dropbear-${version}.tar.bz2 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1" +files=( + "https://mirror.dropbear.nl/mirror/releases/dropbear-${version}.tar.bz2 dropbear-${version}.tar.bz2 3a038d2bbc02bf28bbdd20c012091f741a3ec5cbe460691811d714876aad75d1" +) useconfigure=true use_fresh_config_sub=true # don't care about zlib, less deps is better diff --git a/Ports/dtc/package.sh b/Ports/dtc/package.sh index 0907ff997cc..e11e94b883f 100755 --- a/Ports/dtc/package.sh +++ b/Ports/dtc/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='dtc' version='1.7.0' -files="https://github.com/dgibson/dtc/archive/refs/tags/v${version}.tar.gz dtc-${version}.tar.gz 70d9c156ec86d63de0f7bdae50540ffa492b25ec1d69491c7520845c860b9a62" +files=( + "https://github.com/dgibson/dtc/archive/refs/tags/v${version}.tar.gz dtc-${version}.tar.gz 70d9c156ec86d63de0f7bdae50540ffa492b25ec1d69491c7520845c860b9a62" +) depends=('bash') diff --git a/Ports/dungeonrush/package.sh b/Ports/dungeonrush/package.sh index 8c763d3df8c..f4b530ac476 100755 --- a/Ports/dungeonrush/package.sh +++ b/Ports/dungeonrush/package.sh @@ -3,7 +3,9 @@ port=dungeonrush version=1.1-beta useconfigure=true workdir="DungeonRush-${version}" -files="https://github.com/Rapiz1/DungeonRush/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 295b83cb023bf5d21318992daee125399892bdf16a87c835dfc90b841c929eda" +files=( + "https://github.com/Rapiz1/DungeonRush/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 295b83cb023bf5d21318992daee125399892bdf16a87c835dfc90b841c929eda" +) configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_net") launcher_name="DungeonRush" diff --git a/Ports/e2fsprogs/package.sh b/Ports/e2fsprogs/package.sh index a3c636cb07e..627326b397a 100755 --- a/Ports/e2fsprogs/package.sh +++ b/Ports/e2fsprogs/package.sh @@ -1,5 +1,7 @@ #!/usr/bin/env -S bash ../.port_include.sh port='e2fsprogs' version='1.46.5' -files="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${version}/e2fsprogs-${version}.tar.xz e2fsprogs-${version}.tar.xz 2f16c9176704cf645dc69d5b15ff704ae722d665df38b2ed3cfc249757d8d81e" +files=( + "https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${version}/e2fsprogs-${version}.tar.xz e2fsprogs-${version}.tar.xz 2f16c9176704cf645dc69d5b15ff704ae722d665df38b2ed3cfc249757d8d81e" +) useconfigure='true' diff --git a/Ports/ed/package.sh b/Ports/ed/package.sh index 2603749d029..ee3e4100d06 100755 --- a/Ports/ed/package.sh +++ b/Ports/ed/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=ed version=1.18 -files="https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz ed-${version}.tar.lz aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f" +files=( + "https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz ed-${version}.tar.lz aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f" +) useconfigure=true depends=("pcre2") diff --git a/Ports/edid-decode/package.sh b/Ports/edid-decode/package.sh index 64c26e72572..47a14eb1405 100755 --- a/Ports/edid-decode/package.sh +++ b/Ports/edid-decode/package.sh @@ -2,4 +2,6 @@ port='edid-decode' version='20220315.cb74358c2896' workdir="${port}-0.1~git${version}" -files="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/edid-decode/0.1~git${version}-1/edid-decode_0.1~git${version}.orig.tar.xz edid-decode_0.1~git${version}.orig.tar.xz 3cb9903663d71b571480ec5cfd88c4c8dd3e77d352b3e2533c3426d61ae296b2" +files=( + "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/edid-decode/0.1~git${version}-1/edid-decode_0.1~git${version}.orig.tar.xz edid-decode_0.1~git${version}.orig.tar.xz 3cb9903663d71b571480ec5cfd88c4c8dd3e77d352b3e2533c3426d61ae296b2" +) diff --git a/Ports/editline/package.sh b/Ports/editline/package.sh index 925c8932e3a..5a84ad0509e 100755 --- a/Ports/editline/package.sh +++ b/Ports/editline/package.sh @@ -5,4 +5,6 @@ version='1.17.1' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('aux/config.sub') -files="https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.gz editline-${version}.tar.gz 781e03b6a935df75d99fb963551e2e9f09a714a8c49fc53280c716c90bf44d26" +files=( + "https://github.com/troglobit/editline/releases/download/${version}/editline-${version}.tar.gz editline-${version}.tar.gz 781e03b6a935df75d99fb963551e2e9f09a714a8c49fc53280c716c90bf44d26" +) diff --git a/Ports/emu2/package.sh b/Ports/emu2/package.sh index 9983e938337..4b13aea1047 100755 --- a/Ports/emu2/package.sh +++ b/Ports/emu2/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=emu2 version="2021.01" -files="https://github.com/dmsc/emu2/archive/refs/tags/v${version}.tar.gz emu2-${version}.tar.gz 32ea656ad9b034d2c91a20f1a9ac1779cb6905a019c5bdeda9338cfd673bbd72" +files=( + "https://github.com/dmsc/emu2/archive/refs/tags/v${version}.tar.gz emu2-${version}.tar.gz 32ea656ad9b034d2c91a20f1a9ac1779cb6905a019c5bdeda9338cfd673bbd72" +) build() { export CC="${SERENITY_SOURCE_DIR}/Toolchain/Local/${SERENITY_ARCH}/bin/${SERENITY_ARCH}-pc-serenity-gcc" diff --git a/Ports/epsilon/package.sh b/Ports/epsilon/package.sh index d762a5c1f92..5beb4fbf5fc 100755 --- a/Ports/epsilon/package.sh +++ b/Ports/epsilon/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=epsilon version=15.5.0 -files="https://github.com/numworks/epsilon/archive/refs/tags/${version}.tar.gz ${port}-${version}.tar.gz 38c3b6baaf00863bbd179bce5e9cc42bbdbd0cd485b5bf3bbf4473383591bf83" +files=( + "https://github.com/numworks/epsilon/archive/refs/tags/${version}.tar.gz ${port}-${version}.tar.gz 38c3b6baaf00863bbd179bce5e9cc42bbdbd0cd485b5bf3bbf4473383591bf83" +) makeopts=("PLATFORM=simulator" "TARGET=serenity" "SERENITY_INSTALL_ROOT=${SERENITY_INSTALL_ROOT}") depends=("SDL2" "libpng" "libjpeg" "freetype") launcher_name=Epsilon diff --git a/Ports/expat/package.sh b/Ports/expat/package.sh index 54eb0e64711..4a9f75a9e79 100755 --- a/Ports/expat/package.sh +++ b/Ports/expat/package.sh @@ -3,4 +3,6 @@ port='expat' version='2.5.0' versionpath='2_5_0' useconfigure='true' -files="https://github.com/libexpat/libexpat/releases/download/R_${versionpath}/expat-${version}.tar.xz expat-${version}.tar.xz ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe" +files=( + "https://github.com/libexpat/libexpat/releases/download/R_${versionpath}/expat-${version}.tar.xz expat-${version}.tar.xz ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe" +) diff --git a/Ports/ffmpeg/package.sh b/Ports/ffmpeg/package.sh index a805a1fb06b..cdb781dc903 100755 --- a/Ports/ffmpeg/package.sh +++ b/Ports/ffmpeg/package.sh @@ -3,7 +3,9 @@ port=ffmpeg version=5.0 useconfigure=true depends=("libiconv" "libtiff" "xz" "bzip2" "SDL2" "x264" "x265") -files="https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz ffmpeg-${version}.tar.gz 7bf52bc242b5db8df67c62cb826df134d917dedcf6abf1289e15e4057bcc1750" +files=( + "https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz ffmpeg-${version}.tar.gz 7bf52bc242b5db8df67c62cb826df134d917dedcf6abf1289e15e4057bcc1750" +) installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local") configopts=("SRC_PATH=.") diff --git a/Ports/figlet/package.sh b/Ports/figlet/package.sh index 7685f7699f4..4067a5e9419 100755 --- a/Ports/figlet/package.sh +++ b/Ports/figlet/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=figlet version=2.2.5 -files="http://ftp.figlet.org/pub/figlet/program/unix/figlet-${version}.tar.gz figlet-${version}.tar.gz bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d" +files=( + "http://ftp.figlet.org/pub/figlet/program/unix/figlet-${version}.tar.gz figlet-${version}.tar.gz bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d" +) build() { run make CC="${CC}" LD="${CC}" "${makeopts[@]}" diff --git a/Ports/file/package.sh b/Ports/file/package.sh index 7870cbe9720..8fe577d629f 100755 --- a/Ports/file/package.sh +++ b/Ports/file/package.sh @@ -4,4 +4,6 @@ version='5.44' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('config.sub') -files="http://ftp.astron.com/pub/file/file-${version}.tar.gz file-${version}.tar.gz 3751c7fba8dbc831cb8d7cc8aff21035459b8ce5155ef8b0880a27d028475f3b" +files=( + "http://ftp.astron.com/pub/file/file-${version}.tar.gz file-${version}.tar.gz 3751c7fba8dbc831cb8d7cc8aff21035459b8ce5155ef8b0880a27d028475f3b" +) diff --git a/Ports/findutils/package.sh b/Ports/findutils/package.sh index c3305a92991..b1db78255ef 100755 --- a/Ports/findutils/package.sh +++ b/Ports/findutils/package.sh @@ -4,4 +4,6 @@ version='4.9.0' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('build-aux/config.sub') -files="https://ftpmirror.gnu.org/gnu/findutils/findutils-${version}.tar.xz findutils-${version}.tar.xz a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe" +files=( + "https://ftpmirror.gnu.org/gnu/findutils/findutils-${version}.tar.xz findutils-${version}.tar.xz a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe" +) diff --git a/Ports/fio/package.sh b/Ports/fio/package.sh index aa3103f9c73..042902d1c1e 100755 --- a/Ports/fio/package.sh +++ b/Ports/fio/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='fio' version='3.33' -files="https://brick.kernel.dk/snaps/${port}-${version}.tar.gz ${port}-${version}.tar.gz d2410e13e0f379d061d077cc5ae325835bb7c6186aa7bafc1df954cbc9b014fc" +files=( + "https://brick.kernel.dk/snaps/${port}-${version}.tar.gz ${port}-${version}.tar.gz d2410e13e0f379d061d077cc5ae325835bb7c6186aa7bafc1df954cbc9b014fc" +) depends=("zlib") export LDFLAGS='-ldl' diff --git a/Ports/flac/package.sh b/Ports/flac/package.sh index a374934010c..e87af3707ef 100755 --- a/Ports/flac/package.sh +++ b/Ports/flac/package.sh @@ -3,4 +3,6 @@ port='flac' version='1.4.2' useconfigure='true' depends=('libogg') -files="https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz flac-${version}.tar.xz e322d58a1f48d23d9dd38f432672865f6f79e73a6f9cc5a5f57fcaa83eb5a8e4" +files=( + "https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz flac-${version}.tar.xz e322d58a1f48d23d9dd38f432672865f6f79e73a6f9cc5a5f57fcaa83eb5a8e4" +) diff --git a/Ports/flatbuffers/package.sh b/Ports/flatbuffers/package.sh index 5867b72c509..391566591cc 100755 --- a/Ports/flatbuffers/package.sh +++ b/Ports/flatbuffers/package.sh @@ -2,7 +2,9 @@ port=flatbuffers version=2.0.0 -files="https://github.com/google/flatbuffers/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4" +files=( + "https://github.com/google/flatbuffers/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4" +) useconfigure=true # Since we are cross-compiling, we cannot build the tests, because we need # the flatbuffers compiler to build them diff --git a/Ports/flex/package.sh b/Ports/flex/package.sh index bf00d435305..a07f65f8eca 100755 --- a/Ports/flex/package.sh +++ b/Ports/flex/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=flex version=2.6.4 -files="https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz flex-${version}.tar.gz e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" +files=( + "https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz flex-${version}.tar.gz e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" +) useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") diff --git a/Ports/fontconfig/package.sh b/Ports/fontconfig/package.sh index fa75df7db12..04d14f3bbcc 100755 --- a/Ports/fontconfig/package.sh +++ b/Ports/fontconfig/package.sh @@ -4,7 +4,9 @@ version=2.14.0 useconfigure="true" use_fresh_config_sub="true" depends=("libxml2" "freetype") -files="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz fontconfig-${version}.tar.xz dcbeb84c9c74bbfdb133d535fe1c7bedc9f2221a8daf3914b984c44c520e9bac" +files=( + "https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz fontconfig-${version}.tar.xz dcbeb84c9c74bbfdb133d535fe1c7bedc9f2221a8daf3914b984c44c520e9bac" +) configopts=( "--with-sysroot=${SERENITY_INSTALL_ROOT}" "--prefix=/usr/local" diff --git a/Ports/fotaq/package.sh b/Ports/fotaq/package.sh index 12054a182fe..1c7b1029830 100755 --- a/Ports/fotaq/package.sh +++ b/Ports/fotaq/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=fotaq version="1.0" -files="https://downloads.scummvm.org/frs/extras/Flight%20of%20the%20Amazon%20Queen/FOTAQ_Talkie-original.zip ${port}-${version}.zip a298e68243f18a741d4816ef636a5a77a1593816fb2c9e23a09124c35a95dfec" +files=( + "https://downloads.scummvm.org/frs/extras/Flight%20of%20the%20Amazon%20Queen/FOTAQ_Talkie-original.zip ${port}-${version}.zip a298e68243f18a741d4816ef636a5a77a1593816fb2c9e23a09124c35a95dfec" +) depends=("scummvm") resource_path="/usr/local/share/games/${port}-${version}" diff --git a/Ports/freeciv/package.sh b/Ports/freeciv/package.sh index d8b49c54bf9..25b7e3cae6d 100755 --- a/Ports/freeciv/package.sh +++ b/Ports/freeciv/package.sh @@ -5,7 +5,9 @@ useconfigure=true use_fresh_config_sub=true config_sub_paths=("bootstrap/config.sub") configopts=("--enable-client=sdl2" "--enable-fcmp=no") -files="http://files.freeciv.org/stable/freeciv-${version}.tar.xz freeciv-${version}.tar.xz 3b5aa32f628890be1741c3ac942cee82c79c065f8db6baff18d734a5c0e776d4" +files=( + "http://files.freeciv.org/stable/freeciv-${version}.tar.xz freeciv-${version}.tar.xz 3b5aa32f628890be1741c3ac942cee82c79c065f8db6baff18d734a5c0e776d4" +) depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_gfx" "zstd" "libicu" "xz" "gettext" "curl") launcher_name=Freeciv launcher_category=Games diff --git a/Ports/freedink/package.sh b/Ports/freedink/package.sh index 90b938f9b6b..9e08f7a7506 100755 --- a/Ports/freedink/package.sh +++ b/Ports/freedink/package.sh @@ -6,8 +6,10 @@ use_fresh_config_sub="true" config_sub_paths=("autotools/config.sub") depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_gfx" "gettext" "fontconfig" "glm") freedink_data="freedink-data-1.08.20190120" -files="https://ftpmirror.gnu.org/gnu/freedink/freedink-${version}.tar.gz freedink-${version}.tar.gz 5e0b35ac8f46d7bb87e656efd5f9c7c2ac1a6c519a908fc5b581e52657981002 -https://ftpmirror.gnu.org/gnu/freedink/${freedink_data}.tar.gz ${freedink_data}.tar.gz 715f44773b05b73a9ec9b62b0e152f3f281be1a1512fbaaa386176da94cffb9d" +files=( + "https://ftpmirror.gnu.org/gnu/freedink/freedink-${version}.tar.gz freedink-${version}.tar.gz 5e0b35ac8f46d7bb87e656efd5f9c7c2ac1a6c519a908fc5b581e52657981002" + "https://ftpmirror.gnu.org/gnu/freedink/${freedink_data}.tar.gz ${freedink_data}.tar.gz 715f44773b05b73a9ec9b62b0e152f3f281be1a1512fbaaa386176da94cffb9d" +) configopts=("--prefix=/usr/local" "--disable-rpath" "--disable-tests" "LDFLAGS=-ldl -lfontconfig -lxml2") resource_path="/usr/local/share/games/dink" diff --git a/Ports/freetype/package.sh b/Ports/freetype/package.sh index 8313ec9e034..0045215f709 100755 --- a/Ports/freetype/package.sh +++ b/Ports/freetype/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='freetype' version='2.13.0' -files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz a7aca0e532a276ea8d85bd31149f0a74c33d19c8d287116ef8f5f8357b4f1f80" +files=( + "https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz a7aca0e532a276ea8d85bd31149f0a74c33d19c8d287116ef8f5f8357b4f1f80" +) useconfigure='true' use_fresh_config_sub='true' config_sub_paths=("builds/unix/config.sub") diff --git a/Ports/frotz/package.sh b/Ports/frotz/package.sh index aec06b8adf1..93063ae44d9 100755 --- a/Ports/frotz/package.sh +++ b/Ports/frotz/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='frotz' version='2.54' -files="https://gitlab.com/DavidGriffith/frotz/-/archive/${version}/frotz-${version}.tar.bz2 frotz-${version}.tar.bz2 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395" +files=( + "https://gitlab.com/DavidGriffith/frotz/-/archive/${version}/frotz-${version}.tar.bz2 frotz-${version}.tar.bz2 bdf9131e6de49108c9f032200cea3cb4011e5ca0c9fbdbf5b0c05f7c56c81395" +) depends=("ncurses") build() { diff --git a/Ports/gawk/package.sh b/Ports/gawk/package.sh index e7e07f10776..1991e0a52a8 100755 --- a/Ports/gawk/package.sh +++ b/Ports/gawk/package.sh @@ -2,4 +2,6 @@ port=gawk version=5.2.1 useconfigure="true" -files="https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz 529e7c8c6acf21ff3a6183f4d763c632810908989c24675c77995d51ac37b79c" +files=( + "https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz 529e7c8c6acf21ff3a6183f4d763c632810908989c24675c77995d51ac37b79c" +) diff --git a/Ports/gcc/package.sh b/Ports/gcc/package.sh index 9bc7f7baf13..29b6d1311f4 100755 --- a/Ports/gcc/package.sh +++ b/Ports/gcc/package.sh @@ -3,7 +3,9 @@ port=gcc version=13.1.0 useconfigure=true configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--with-build-sysroot=${SERENITY_INSTALL_ROOT}" "--enable-languages=c,c++" "--disable-lto" "--disable-nls" "--enable-shared" "--enable-default-pie" "--enable-host-shared" "--enable-threads=posix" "--enable-initfini-array" "--with-linker-hash-style=gnu") -files="https://ftpmirror.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz gcc-${version}.tar.xz 61d684f0aa5e76ac6585ad8898a2427aade8979ed5e7f85492286c4dfc13ee86" +files=( + "https://ftpmirror.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz gcc-${version}.tar.xz 61d684f0aa5e76ac6585ad8898a2427aade8979ed5e7f85492286c4dfc13ee86" +) makeopts=("all-gcc" "all-target-libgcc" "all-target-libstdc++-v3" "-j$(nproc)") installopts=("DESTDIR=${SERENITY_INSTALL_ROOT}" "install-gcc" "install-target-libgcc" "install-target-libstdc++-v3") depends=("binutils" "gmp" "mpfr" "mpc" "isl") diff --git a/Ports/gdb/package.sh b/Ports/gdb/package.sh index de63d39f369..69861e0e269 100755 --- a/Ports/gdb/package.sh +++ b/Ports/gdb/package.sh @@ -3,7 +3,9 @@ port=gdb version=11.2 useconfigure=true configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--with-build-sysroot=${SERENITY_INSTALL_ROOT}" "--with-newlib" "--enable-languages=c,c++" "--disable-lto" "--disable-nls" "--enable-shared" "--enable-default-pie" "--enable-host-shared" "--enable-threads=posix") -files="https://ftpmirror.gnu.org/gnu/gdb/gdb-${version}.tar.xz gdb-${version}.tar.xz 1497c36a71881b8671a9a84a0ee40faab788ca30d7ba19d8463c3cc787152e32" +files=( + "https://ftpmirror.gnu.org/gnu/gdb/gdb-${version}.tar.xz gdb-${version}.tar.xz 1497c36a71881b8671a9a84a0ee40faab788ca30d7ba19d8463c3cc787152e32" +) makeopts+=("all") installopts=("DESTDIR=${SERENITY_INSTALL_ROOT}") depends=("gmp" "binutils") diff --git a/Ports/gemrb/package.sh b/Ports/gemrb/package.sh index 3f153dc3caa..672cec7b940 100755 --- a/Ports/gemrb/package.sh +++ b/Ports/gemrb/package.sh @@ -2,7 +2,9 @@ port='gemrb' version='0.9.1' useconfigure='true' -files="https://github.com/gemrb/gemrb/archive/refs/tags/v${version}.tar.gz gemrb-${version}.tar.gz 6e5dbcf7398d5566751f434b0d4647196bfbe9a813e3b65ad6a4ee2f1bbfb9ba" +files=( + "https://github.com/gemrb/gemrb/archive/refs/tags/v${version}.tar.gz gemrb-${version}.tar.gz 6e5dbcf7398d5566751f434b0d4647196bfbe9a813e3b65ad6a4ee2f1bbfb9ba" +) depends=( 'freetype' 'libiconv' diff --git a/Ports/genemu/package.sh b/Ports/genemu/package.sh index 18ef106b824..6f72c91c0ed 100755 --- a/Ports/genemu/package.sh +++ b/Ports/genemu/package.sh @@ -2,7 +2,9 @@ port=genemu version=e39f690157d8f969adfbaba30a4e639d20b34768 useconfigure=true -files="https://github.com/rasky/genemu/archive/${version}.tar.gz genemu-${version}.tar.gz 9b9616f6237e621a169422058caeccb2d0f4399374dc38f34837980154c89497" +files=( + "https://github.com/rasky/genemu/archive/${version}.tar.gz genemu-${version}.tar.gz 9b9616f6237e621a169422058caeccb2d0f4399374dc38f34837980154c89497" +) configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") depends=("SDL2") diff --git a/Ports/genext2fs/package.sh b/Ports/genext2fs/package.sh index 35776bab04d..13568f9b249 100755 --- a/Ports/genext2fs/package.sh +++ b/Ports/genext2fs/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='genext2fs' version='1.5.0' -files="https://github.com/bestouff/genext2fs/archive/v${version}.tar.gz genext2fs-${version}.tar.xz d3861e4fe89131bd21fbd25cf0b683b727b5c030c4c336fadcd738ada830aab0" +files=( + "https://github.com/bestouff/genext2fs/archive/v${version}.tar.gz genext2fs-${version}.tar.xz d3861e4fe89131bd21fbd25cf0b683b727b5c030c4c336fadcd738ada830aab0" +) useconfigure='true' pre_patch() { diff --git a/Ports/gettext/package.sh b/Ports/gettext/package.sh index be099c8bdfc..d85c1ec85f1 100755 --- a/Ports/gettext/package.sh +++ b/Ports/gettext/package.sh @@ -2,7 +2,9 @@ port='gettext' version='0.21.1' useconfigure='true' -files="https://ftpmirror.gnu.org/gettext/gettext-${version}.tar.gz gettext-${version}.tar.gz e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45" +files=( + "https://ftpmirror.gnu.org/gettext/gettext-${version}.tar.gz gettext-${version}.tar.gz e8c3650e1d8cee875c4f355642382c1df83058bd5a11ee8555c0cf276d646d45" +) depends=("libiconv") use_fresh_config_sub='true' config_sub_paths=("build-aux/config.sub" "libtextstyle/build-aux/config.sub") diff --git a/Ports/git/package.sh b/Ports/git/package.sh index bfd19dd2e41..f301431a329 100755 --- a/Ports/git/package.sh +++ b/Ports/git/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='git' version='2.40.0' -files="https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz git-${version}.tar.xz b17a598fbf58729ef13b577465eb93b2d484df1201518b708b5044ff623bf46d" +files=( + "https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz git-${version}.tar.xz b17a598fbf58729ef13b577465eb93b2d484df1201518b708b5044ff623bf46d" +) useconfigure='true' configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-lib=${SERENITY_INSTALL_ROOT}/usr/local" "CFLAGS=-DNO_IPV6" "LDFLAGS=-L${SERENITY_INSTALL_ROOT}/usr/local/lib") depends=("zlib" "curl") diff --git a/Ports/glib/package.sh b/Ports/glib/package.sh index d9551d0bd9b..375a1158b20 100755 --- a/Ports/glib/package.sh +++ b/Ports/glib/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='glib' version='2.77.0' -files="https://download.gnome.org/sources/glib/2.77/glib-${version}.tar.xz glib-${version}.tar.xz 1897fd8ad4ebb523c32fabe7508c3b0b039c089661ae1e7917df0956a320ac4d" +files=( + "https://download.gnome.org/sources/glib/2.77/glib-${version}.tar.xz glib-${version}.tar.xz 1897fd8ad4ebb523c32fabe7508c3b0b039c089661ae1e7917df0956a320ac4d" +) useconfigure='true' configopts=( '--cross-file' "${SERENITY_BUILD_DIR}/meson-cross-file.txt" diff --git a/Ports/glm/package.sh b/Ports/glm/package.sh index 530d2f4b7f2..319a0d371ad 100755 --- a/Ports/glm/package.sh +++ b/Ports/glm/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=glm version=0.9.9.8 -files="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip glm-${version}.zip 37e2a3d62ea3322e43593c34bae29f57e3e251ea89f4067506c94043769ade4c" +files=( + "https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip glm-${version}.zip 37e2a3d62ea3322e43593c34bae29f57e3e251ea89f4067506c94043769ade4c" +) depends=() workdir=glm useconfigure=true diff --git a/Ports/gltron/package.sh b/Ports/gltron/package.sh index ca4f59fd24d..ed2d42608a9 100755 --- a/Ports/gltron/package.sh +++ b/Ports/gltron/package.sh @@ -3,7 +3,9 @@ port='gltron' useconfigure='true' use_fresh_config_sub='true' version='0.70' -files="http://mirror.sobukus.de/files/grimoire/games-arcade-2d/gltron-${version}-source.tar.gz gltron-${version}.tar.gz e0c8ebb41a18a1f8d7302a9c2cb466f5b1dd63e9a9966c769075e6b6bdad8bb0" +files=( + "http://mirror.sobukus.de/files/grimoire/games-arcade-2d/gltron-${version}-source.tar.gz gltron-${version}.tar.gz e0c8ebb41a18a1f8d7302a9c2cb466f5b1dd63e9a9966c769075e6b6bdad8bb0" +) depends=("libpng" "glu" "SDL_sound" "sdl12-compat" "zlib") configopts=( "--disable-warn" diff --git a/Ports/glu/package.sh b/Ports/glu/package.sh index b68693005e5..f0d1dddfe10 100755 --- a/Ports/glu/package.sh +++ b/Ports/glu/package.sh @@ -2,7 +2,9 @@ port=glu useconfigure="true" version="9.0.2" -files="https://archive.mesa3d.org/glu/glu-${version}.tar.gz glu-${version}.tar.gz 24effdfb952453cc00e275e1c82ca9787506aba0282145fff054498e60e19a65" +files=( + "https://archive.mesa3d.org/glu/glu-${version}.tar.gz glu-${version}.tar.gz 24effdfb952453cc00e275e1c82ca9787506aba0282145fff054498e60e19a65" +) depends=("pkgconf") use_fresh_config_sub=true diff --git a/Ports/gmp/package.sh b/Ports/gmp/package.sh index 6d23998ee68..7d81ccb1616 100755 --- a/Ports/gmp/package.sh +++ b/Ports/gmp/package.sh @@ -2,4 +2,6 @@ port=gmp version=6.2.1 useconfigure="true" -files="https://ftpmirror.gnu.org/gnu/gmp/gmp-${version}.tar.bz2 gmp-${version}.tar.bz2 eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c" +files=( + "https://ftpmirror.gnu.org/gnu/gmp/gmp-${version}.tar.bz2 gmp-${version}.tar.bz2 eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c" +) diff --git a/Ports/gnuapl/package.sh b/Ports/gnuapl/package.sh index d1c8408728d..630b68cb150 100755 --- a/Ports/gnuapl/package.sh +++ b/Ports/gnuapl/package.sh @@ -5,5 +5,7 @@ version="1.8" useconfigure="true" workdir="apl-${version}" configopts=("CXX_WERROR=no") -files="https://ftpmirror.gnu.org/gnu/apl/apl-${version}.tar.gz apl-${version}.tar.gz 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb" +files=( + "https://ftpmirror.gnu.org/gnu/apl/apl-${version}.tar.gz apl-${version}.tar.gz 144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb" +) use_fresh_config_sub=true diff --git a/Ports/gnucobol/package.sh b/Ports/gnucobol/package.sh index 8a8a3f3385d..d2ed5b36113 100755 --- a/Ports/gnucobol/package.sh +++ b/Ports/gnucobol/package.sh @@ -5,7 +5,9 @@ useconfigure="true" use_fresh_config_sub="true" config_sub_paths=("build_aux/config.sub") depends=("gmp" "gcc" "bash" "ncurses") -files="https://ftpmirror.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2 gnucobol-${version}.tar.bz2 11181da708dbe65c7d047baadafb4bd49d5cde9b603bec0c842576a84e293fd5" +files=( + "https://ftpmirror.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2 gnucobol-${version}.tar.bz2 11181da708dbe65c7d047baadafb4bd49d5cde9b603bec0c842576a84e293fd5" +) configopts=( "--with-sysroot=${SERENITY_INSTALL_ROOT}" "--prefix=/usr/local" diff --git a/Ports/gnupg/package.sh b/Ports/gnupg/package.sh index 637fc573459..c051bb2ac06 100755 --- a/Ports/gnupg/package.sh +++ b/Ports/gnupg/package.sh @@ -10,7 +10,9 @@ configopts=("--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--with-ntbtls-prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--with-npth-prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--disable-dirmngr") -files="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2 gnupg-${version}.tar.bz2 84c1ef39e8621cfb70f31463a5d1d8edeab44332bc1e0e1af9b78b6f9ed05bb4" +files=( + "https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2 gnupg-${version}.tar.bz2 84c1ef39e8621cfb70f31463a5d1d8edeab44332bc1e0e1af9b78b6f9ed05bb4" +) depends=("libiconv" "libgpg-error" "libgcrypt" "libksba" "libassuan" "npth" "ntbtls") pre_configure() { diff --git a/Ports/gnuplot/package.sh b/Ports/gnuplot/package.sh index aa4b27fa315..7545544d2d7 100755 --- a/Ports/gnuplot/package.sh +++ b/Ports/gnuplot/package.sh @@ -3,7 +3,9 @@ port=gnuplot version=5.2.8 useconfigure=true # Note: gnuplot's source code is hosted on SourceForge, but using the GitHub mirror makes downloading a versioned .tar.gz easier. -files="https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz gnuplot-${version}.tar.gz b55f591e2ad9d01ffca821f2f91ce781b481bb5dd602ce5188bfad3140f44ac0" +files=( + "https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz gnuplot-${version}.tar.gz b55f591e2ad9d01ffca821f2f91ce781b481bb5dd602ce5188bfad3140f44ac0" +) configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--with-readline=builtin" "--without-latex") pre_configure() { diff --git a/Ports/gperf/package.sh b/Ports/gperf/package.sh index 94ed2b30acc..242016ec96a 100755 --- a/Ports/gperf/package.sh +++ b/Ports/gperf/package.sh @@ -3,5 +3,7 @@ port=gperf version=3.1 useconfigure="true" depends=() -files="https://ftpmirror.gnu.org/gnu/gperf/gperf-${version}.tar.gz gperf-${version}.tar.gz 588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2" +files=( + "https://ftpmirror.gnu.org/gnu/gperf/gperf-${version}.tar.gz gperf-${version}.tar.gz 588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2" +) configopts=("--prefix=/usr/local") diff --git a/Ports/grep/package.sh b/Ports/grep/package.sh index 5b3725ce816..f927b7fef65 100755 --- a/Ports/grep/package.sh +++ b/Ports/grep/package.sh @@ -1,6 +1,8 @@ #!/usr/bin/env -S bash ../.port_include.sh port='grep' version='3.10' -files="https://ftpmirror.gnu.org/gnu/grep/grep-${version}.tar.gz grep-${version}.tar.gz de7b21d8e3348ea6569c6fd5734e90a31169ef62429ea3dce48a6fc1dd85d260" +files=( + "https://ftpmirror.gnu.org/gnu/grep/grep-${version}.tar.gz grep-${version}.tar.gz de7b21d8e3348ea6569c6fd5734e90a31169ef62429ea3dce48a6fc1dd85d260" +) useconfigure='true' configopts=("--disable-perl-regexp") diff --git a/Ports/grepcidr/package.sh b/Ports/grepcidr/package.sh index 0c051fd8fa1..3e9e39db262 100755 --- a/Ports/grepcidr/package.sh +++ b/Ports/grepcidr/package.sh @@ -1,4 +1,6 @@ #!/usr/bin/env -S bash ../.port_include.sh port='grepcidr' version='2.0' -files="http://www.pc-tools.net/files/unix/grepcidr-${version}.tar.gz grepcidr-${version}.tar.gz 61886a377dabf98797145c31f6ba95e6837b6786e70c932324b7d6176d50f7fb" +files=( + "http://www.pc-tools.net/files/unix/grepcidr-${version}.tar.gz grepcidr-${version}.tar.gz 61886a377dabf98797145c31f6ba95e6837b6786e70c932324b7d6176d50f7fb" +) diff --git a/Ports/griffon/package.sh b/Ports/griffon/package.sh index 36d26fa144e..73df28ea606 100755 --- a/Ports/griffon/package.sh +++ b/Ports/griffon/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=griffon version="1.0" -files="https://downloads.scummvm.org/frs/extras/Griffon%20Legend/${port}-${version}.zip ${port}-${version}.zip 0aad5fb10f51afb5c121cf04cc86539a6f0d89db85809f9e1767dfdc8d3191a4" +files=( + "https://downloads.scummvm.org/frs/extras/Griffon%20Legend/${port}-${version}.zip ${port}-${version}.zip 0aad5fb10f51afb5c121cf04cc86539a6f0d89db85809f9e1767dfdc8d3191a4" +) depends=("scummvm") resource_path="/usr/local/share/games/${port}-${version}" diff --git a/Ports/gsl/package.sh b/Ports/gsl/package.sh index ec776497c62..8bad1844ffc 100755 --- a/Ports/gsl/package.sh +++ b/Ports/gsl/package.sh @@ -3,5 +3,7 @@ port=gsl version=2.7.1 useconfigure=true -files="https://ftpmirror.gnu.org/gnu/gsl/gsl-${version}.tar.gz gsl-${version}.tar.gz dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b" +files=( + "https://ftpmirror.gnu.org/gnu/gsl/gsl-${version}.tar.gz gsl-${version}.tar.gz dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b" +) use_fresh_config_sub=true diff --git a/Ports/guile/package.sh b/Ports/guile/package.sh index e956336db06..84235da0c9f 100755 --- a/Ports/guile/package.sh +++ b/Ports/guile/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=guile version=3.0.8 -files="https://ftpmirror.gnu.org/gnu/guile/guile-${version}.tar.gz guile-${version}.tar.gz f25ae0c26e911af1b5005292d4f56621879f74d6958b30741cf67d8b6feb2016" +files=( + "https://ftpmirror.gnu.org/gnu/guile/guile-${version}.tar.gz guile-${version}.tar.gz f25ae0c26e911af1b5005292d4f56621879f74d6958b30741cf67d8b6feb2016" +) depends=("gmp" "libunistring" "libffi" "bdwgc" "libiconv") useconfigure=true diff --git a/Ports/gzip/package.sh b/Ports/gzip/package.sh index cbc4fceebc7..ca6ef213b3f 100755 --- a/Ports/gzip/package.sh +++ b/Ports/gzip/package.sh @@ -4,4 +4,6 @@ version='1.12' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('build-aux/config.sub') -files="https://ftpmirror.gnu.org/gnu/gzip/gzip-${version}.tar.gz gzip-${version}.tar.gz 5b4fb14d38314e09f2fc8a1c510e7cd540a3ea0e3eb9b0420046b82c3bf41085" +files=( + "https://ftpmirror.gnu.org/gnu/gzip/gzip-${version}.tar.gz gzip-${version}.tar.gz 5b4fb14d38314e09f2fc8a1c510e7cd540a3ea0e3eb9b0420046b82c3bf41085" +) diff --git a/Ports/halflife/package.sh b/Ports/halflife/package.sh index dfd6e2f3ba4..a147e3efb98 100755 --- a/Ports/halflife/package.sh +++ b/Ports/halflife/package.sh @@ -5,7 +5,9 @@ _hlsdk_commit='63e3769c46ba7f502b53abdfdd55597e4130c0dd' useconfigure='true' depends=("xash3d-fwgs") workdir="hlsdk-portable-${_hlsdk_commit}" -files="https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz hlsdk-portable-${_hlsdk_commit}.tar.gz b010c94ed400e44508f43706aeea68b82615c6ad22d2b1b892e8d6201d97503d" +files=( + "https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz hlsdk-portable-${_hlsdk_commit}.tar.gz b010c94ed400e44508f43706aeea68b82615c6ad22d2b1b892e8d6201d97503d" +) launcher_name='Half-Life' launcher_category='Games' launcher_command='sh /home/anon/Games/halflife/hl.sh' diff --git a/Ports/harfbuzz/package.sh b/Ports/harfbuzz/package.sh index 29a4030f21b..e7388fb1856 100755 --- a/Ports/harfbuzz/package.sh +++ b/Ports/harfbuzz/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='harfbuzz' version='4.3.0' -files="https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz harfbuzz-${version}.tar.xz a49628f4c4c8e6d8df95ef44935a93446cf2e46366915b0e3ca30df21fffb530" +files=( + "https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz harfbuzz-${version}.tar.xz a49628f4c4c8e6d8df95ef44935a93446cf2e46366915b0e3ca30df21fffb530" +) useconfigure='true' depends=("freetype" "libicu") configopts=( diff --git a/Ports/hatari/package.sh b/Ports/hatari/package.sh index b0f4c2b5386..f3467398789 100755 --- a/Ports/hatari/package.sh +++ b/Ports/hatari/package.sh @@ -6,7 +6,9 @@ depends=("SDL2" "zlib") commit=6a86f054cc560a858bbe60c7529dafe2cf6ec604 workdir="${port}-${commit}" configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") -files="https://github.com/hatari/hatari/archive/${commit}.tar.gz ${commit}.tar.gz bcb5d2e3bf3a3f8b34d21565354aa8eb085e3d92eb466c5d28e42e2022e7da3d" +files=( + "https://github.com/hatari/hatari/archive/${commit}.tar.gz ${commit}.tar.gz bcb5d2e3bf3a3f8b34d21565354aa8eb085e3d92eb466c5d28e42e2022e7da3d" +) launcher_name=Hatari launcher_category=Games launcher_command=hatari diff --git a/Ports/hexedit/package.sh b/Ports/hexedit/package.sh index 75bb16098c9..a440040c4fd 100755 --- a/Ports/hexedit/package.sh +++ b/Ports/hexedit/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='hexedit' version='1.6' -files="https://github.com/pixel/hexedit/archive/refs/tags/${version}.tar.gz hexedit-${version}.tar.gz 598906131934f88003a6a937fab10542686ce5f661134bc336053e978c4baae3" +files=( + "https://github.com/pixel/hexedit/archive/refs/tags/${version}.tar.gz hexedit-${version}.tar.gz 598906131934f88003a6a937fab10542686ce5f661134bc336053e978c4baae3" +) depends=("ncurses") useconfigure='true' diff --git a/Ports/imagemagick/package.sh b/Ports/imagemagick/package.sh index b5fe58c266b..03dc297136b 100755 --- a/Ports/imagemagick/package.sh +++ b/Ports/imagemagick/package.sh @@ -3,6 +3,8 @@ port='imagemagick' version='7.1.1-5' workdir="ImageMagick-${version}" useconfigure="true" -files="https://github.com/ImageMagick/ImageMagick/archive/refs/tags/${version}.tar.gz ${port}-v${version}.tar.gz dd23689304b8cf41572c3af6b0ddccfe21c5b9d9abddaf978f314696408d0750" +files=( + "https://github.com/ImageMagick/ImageMagick/archive/refs/tags/${version}.tar.gz ${port}-v${version}.tar.gz dd23689304b8cf41572c3af6b0ddccfe21c5b9d9abddaf978f314696408d0750" +) configopts=("--with-sysroot=${SERENITY_INSTALL_ROOT}") depends=("libpng" "libtiff" "libjpeg") diff --git a/Ports/imgcat/package.sh b/Ports/imgcat/package.sh index f0a96d8a33a..a8a01ee892f 100755 --- a/Ports/imgcat/package.sh +++ b/Ports/imgcat/package.sh @@ -4,4 +4,6 @@ version=2.5.1 useconfigure=true installopts=("PREFIX=${SERENITY_INSTALL_ROOT}/usr/local") depends=("ncurses" "libpng" "libjpeg" "termcap") -files="https://github.com/eddieantonio/imgcat/releases/download/v${version}/imgcat-${version}.tar.gz imgcat-v${version}.tar.gz 8faaac392df315b4973bb6927c0eec659e879df6c15ad6f8461073e05b70c537" +files=( + "https://github.com/eddieantonio/imgcat/releases/download/v${version}/imgcat-${version}.tar.gz imgcat-v${version}.tar.gz 8faaac392df315b4973bb6927c0eec659e879df6c15ad6f8461073e05b70c537" +) diff --git a/Ports/indent/package.sh b/Ports/indent/package.sh index 2caa04ab4b5..7d0d7f9f983 100755 --- a/Ports/indent/package.sh +++ b/Ports/indent/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=indent version=2.2.11 -files="https://ftpmirror.gnu.org/gnu/indent/indent-${version}.tar.gz indent-${version}.tar.gz aaff60ce4d255efb985f0eb78cca4d1ad766c6e051666073050656b6753a0893" +files=( + "https://ftpmirror.gnu.org/gnu/indent/indent-${version}.tar.gz indent-${version}.tar.gz aaff60ce4d255efb985f0eb78cca4d1ad766c6e051666073050656b6753a0893" +) useconfigure=true use_fresh_config_sub=true config_sub_paths=("config/config.sub") diff --git a/Ports/isl/package.sh b/Ports/isl/package.sh index 204010faa85..45c565d0006 100755 --- a/Ports/isl/package.sh +++ b/Ports/isl/package.sh @@ -3,7 +3,9 @@ port=isl version=0.24 useconfigure=true use_fresh_config_sub=true -files="https://libisl.sourceforge.io/isl-${version}.tar.xz isl-${version}.tar.xz 043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad" +files=( + "https://libisl.sourceforge.io/isl-${version}.tar.xz isl-${version}.tar.xz 043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad" +) depends=("gmp") if [ "$SERENITY_TOOLCHAIN" = "Clang" ]; then diff --git a/Ports/ja2/package.sh b/Ports/ja2/package.sh index 3e84b36c1bb..99089a8ba20 100755 --- a/Ports/ja2/package.sh +++ b/Ports/ja2/package.sh @@ -3,7 +3,9 @@ port=ja2 version=0.15.x depends=("SDL2") workdir="ja2-stracciatella-${version}" -files="https://github.com/ja2-stracciatella/ja2-stracciatella/archive/refs/heads/${version}.zip ja2-stracciatella-${version}.zip 178375de4859d16a76276c781455bf48d3fa862841387c8aa6cfa4162f4f0ca4" +files=( + "https://github.com/ja2-stracciatella/ja2-stracciatella/archive/refs/heads/${version}.zip ja2-stracciatella-${version}.zip 178375de4859d16a76276c781455bf48d3fa862841387c8aa6cfa4162f4f0ca4" +) makeopts="SERENITY=1" launcher_name="Jagged Alliance 2" launcher_category=Games diff --git a/Ports/jakt/package.sh b/Ports/jakt/package.sh index db5ce4bdf6d..65e675e27d2 100755 --- a/Ports/jakt/package.sh +++ b/Ports/jakt/package.sh @@ -7,7 +7,9 @@ depends=( ) commit_hash='063e9767ff80db1a1cfe1a805cc8b7e2e577d9f3' archive_hash='0cb858291d0426e80c8378d7d5876a2a8de747467a289bb691782316c79a2f59' -files="https://github.com/SerenityOS/jakt/archive/${commit_hash}.tar.gz jakt.tar.gz ${archive_hash}" +files=( + "https://github.com/SerenityOS/jakt/archive/${commit_hash}.tar.gz jakt.tar.gz ${archive_hash}" +) workdir="jakt-${commit_hash}" configure() { diff --git a/Ports/jdupes/package.sh b/Ports/jdupes/package.sh index abb67313815..e172158b951 100755 --- a/Ports/jdupes/package.sh +++ b/Ports/jdupes/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='jdupes' version='1.26.1' -files="https://github.com/jbruchon/jdupes/archive/refs/tags/v${version}.tar.gz jdupes-${version}.tar.gz 09153824320c65ad529f8f97cd3b7e792c50e9f9018192ea1a76f2e33a196225" +files=( + "https://github.com/jbruchon/jdupes/archive/refs/tags/v${version}.tar.gz jdupes-${version}.tar.gz 09153824320c65ad529f8f97cd3b7e792c50e9f9018192ea1a76f2e33a196225" +) auth_type='sha256' workdir="jdupes-${version}" depends=('libjodycode') diff --git a/Ports/jfduke3d/package.sh b/Ports/jfduke3d/package.sh index c8d958b1365..e3274543886 100755 --- a/Ports/jfduke3d/package.sh +++ b/Ports/jfduke3d/package.sh @@ -13,10 +13,12 @@ depends=( jfaudiolib_commit='d72aa171a6fad72d4f19e689f4be989fe472e763' jfbuild_commit='d3f86131e1eb5fb1397c3e7d477caef675c359d2' jfmact_commit='1f0746a3b9704906669d8aaed2bbb982053a393e' -files="https://github.com/jonof/jfduke3d/archive/${version}.tar.gz jfduke3d-${version}.tar.gz cef20187b9e9b69b48007e9aaf0c41996aa227abccc5e2fd4ecece2cb503934d -https://github.com/jonof/jfaudiolib/archive/${jfaudiolib_commit}.tar.gz jfaudiolib-${jfaudiolib_commit}.tar.gz 520204c06d6be41838b5a6575a9cbb5dc8889345624c74ff8b9bacee005bd819 -https://github.com/jonof/jfbuild/archive/${jfbuild_commit}.tar.gz jfbuild-${jfbuild_commit}.tar.gz 8917f91f10d595fffd3e79e2c816c9130448d8480fb804eba4a880fb0676b0b5 -https://github.com/jonof/jfmact/archive/${jfmact_commit}.tar.gz jfmact-${jfmact_commit}.tar.gz 173d978cbeec1b387aac458f77d831d64aa56bb30164939ba75885cea04c777d" +files=( + "https://github.com/jonof/jfduke3d/archive/${version}.tar.gz jfduke3d-${version}.tar.gz cef20187b9e9b69b48007e9aaf0c41996aa227abccc5e2fd4ecece2cb503934d" + "https://github.com/jonof/jfaudiolib/archive/${jfaudiolib_commit}.tar.gz jfaudiolib-${jfaudiolib_commit}.tar.gz 520204c06d6be41838b5a6575a9cbb5dc8889345624c74ff8b9bacee005bd819" + "https://github.com/jonof/jfbuild/archive/${jfbuild_commit}.tar.gz jfbuild-${jfbuild_commit}.tar.gz 8917f91f10d595fffd3e79e2c816c9130448d8480fb804eba4a880fb0676b0b5" + "https://github.com/jonof/jfmact/archive/${jfmact_commit}.tar.gz jfmact-${jfmact_commit}.tar.gz 173d978cbeec1b387aac458f77d831d64aa56bb30164939ba75885cea04c777d" +) makeopts=( 'USE_OPENGL=0' 'WITHOUT_GTK=1' diff --git a/Ports/joe/package.sh b/Ports/joe/package.sh index b952abb1cb6..ad43e386ae2 100755 --- a/Ports/joe/package.sh +++ b/Ports/joe/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=joe version=4.6 -files="https://sourceforge.net/projects/joe-editor/files/JOE%20sources/joe-${version}/joe-${version}.tar.gz/download joe-${version}.tar.gz 495a0a61f26404070fe8a719d80406dc7f337623788e445b92a9f6de512ab9de" +files=( + "https://sourceforge.net/projects/joe-editor/files/JOE%20sources/joe-${version}/joe-${version}.tar.gz/download joe-${version}.tar.gz 495a0a61f26404070fe8a719d80406dc7f337623788e445b92a9f6de512ab9de" +) useconfigure="true" configopts=( "--disable-curses" diff --git a/Ports/jot/package.sh b/Ports/jot/package.sh index 6dbc575195e..8b00d4915a7 100755 --- a/Ports/jot/package.sh +++ b/Ports/jot/package.sh @@ -1,5 +1,7 @@ #!/usr/bin/env -S bash ../.port_include.sh port=jot version=6.6 -files="https://github.com/ibara/libpuffy/releases/download/libpuffy-1.0/jot-${version}.tar.gz jot-${version}.tar.gz ad7d955e6a22b5c71d32479703cdac6f2c009765e7bf1bb860775f05b1e1d303" +files=( + "https://github.com/ibara/libpuffy/releases/download/libpuffy-1.0/jot-${version}.tar.gz jot-${version}.tar.gz ad7d955e6a22b5c71d32479703cdac6f2c009765e7bf1bb860775f05b1e1d303" +) depends=("libpuffy") diff --git a/Ports/jq/package.sh b/Ports/jq/package.sh index e00c0b97107..f2861019e37 100755 --- a/Ports/jq/package.sh +++ b/Ports/jq/package.sh @@ -3,7 +3,9 @@ port=jq version=1.6 useconfigure=true configopts=("--with-oniguruma=builtin" "--disable-maintainer-mode") -files="https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz jq-${version}.tar.gz 5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72" +files=( + "https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz jq-${version}.tar.gz 5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72" +) makeopts=("LDFLAGS=-all-static") use_fresh_config_sub=true config_sub_paths=("config/config.sub" "modules/oniguruma/config.sub") diff --git a/Ports/kakoune/package.sh b/Ports/kakoune/package.sh index a35c61df76e..7f39e610831 100755 --- a/Ports/kakoune/package.sh +++ b/Ports/kakoune/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='kakoune' version='24d6072353f7c7e7cac84b4eb085036a8c852f96' -files="https://github.com/mawww/kakoune/archive/${version}.tar.gz ${version}.tar.gz 16440b204770972f318e24e4e178ada474b7cfeb029cefa69e9ff035700a129e" +files=( + "https://github.com/mawww/kakoune/archive/${version}.tar.gz ${version}.tar.gz 16440b204770972f318e24e4e178ada474b7cfeb029cefa69e9ff035700a129e" +) depends=("bash" "sed") makeopts+=( "LDFLAGS=-L${DESTDIR}/usr/local/lib" diff --git a/Ports/klong/package.sh b/Ports/klong/package.sh index 2007b96e55f..a2537d0235f 100755 --- a/Ports/klong/package.sh +++ b/Ports/klong/package.sh @@ -1,6 +1,8 @@ #!/usr/bin/env -S bash ../.port_include.sh port=klong version=20220315 -files="http://t3x.org/klong/klong${version}.tgz klong${version}.tgz 018b75ca2b2ee86eabc9ac3b6c14b0a2aa9200998d4d860e04432fdc80285191" +files=( + "http://t3x.org/klong/klong${version}.tgz klong${version}.tgz 018b75ca2b2ee86eabc9ac3b6c14b0a2aa9200998d4d860e04432fdc80285191" +) useconfigure=false workdir=klong diff --git a/Ports/less/package.sh b/Ports/less/package.sh index ceb22194de7..633e975c012 100755 --- a/Ports/less/package.sh +++ b/Ports/less/package.sh @@ -2,7 +2,9 @@ port=less version=590 useconfigure="true" -files="https://ftpmirror.gnu.org/gnu/less/less-${version}.tar.gz less-${version}.tar.gz 6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10" +files=( + "https://ftpmirror.gnu.org/gnu/less/less-${version}.tar.gz less-${version}.tar.gz 6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10" +) depends=("ncurses") post_configure() { diff --git a/Ports/libarchive/package.sh b/Ports/libarchive/package.sh index 8527803f956..8d23d9df557 100755 --- a/Ports/libarchive/package.sh +++ b/Ports/libarchive/package.sh @@ -5,7 +5,9 @@ useconfigure=true use_fresh_config_sub=true config_sub_paths=("build/autoconf/config.sub") configopts=("--without-xml2") -files="https://libarchive.org/downloads/libarchive-${version}.tar.gz libarchive-${version}.tar.gz c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2" +files=( + "https://libarchive.org/downloads/libarchive-${version}.tar.gz libarchive-${version}.tar.gz c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2" +) depends=("zlib" "pcre") export ac_cv_header_regex_h=no diff --git a/Ports/libassuan/package.sh b/Ports/libassuan/package.sh index 0af3d760660..7ea33fcdcd7 100755 --- a/Ports/libassuan/package.sh +++ b/Ports/libassuan/package.sh @@ -5,7 +5,9 @@ useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") depends=("libgpg-error") -files="https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2 libassuan-${version}.tar.bz2 8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4" +files=( + "https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2 libassuan-${version}.tar.bz2 8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4" +) configopts=( "--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local" ) diff --git a/Ports/libatomic_ops/package.sh b/Ports/libatomic_ops/package.sh index bffce6e6a24..d92afb83f3a 100755 --- a/Ports/libatomic_ops/package.sh +++ b/Ports/libatomic_ops/package.sh @@ -4,4 +4,6 @@ port=libatomic_ops version=7.6.12 useconfigure=true use_fresh_config_sub=true -files="https://www.hboehm.info/gc/gc_source/libatomic_ops-${version}.tar.gz libatomic_ops-${version}.tar.gz f0ab566e25fce08b560e1feab6a3db01db4a38e5bc687804334ef3920c549f3e" +files=( + "https://www.hboehm.info/gc/gc_source/libatomic_ops-${version}.tar.gz libatomic_ops-${version}.tar.gz f0ab566e25fce08b560e1feab6a3db01db4a38e5bc687804334ef3920c549f3e" +) diff --git a/Ports/libexpat/package.sh b/Ports/libexpat/package.sh index 955b4cea150..1faac526142 100755 --- a/Ports/libexpat/package.sh +++ b/Ports/libexpat/package.sh @@ -4,5 +4,7 @@ version=2.4.8 useconfigure=true use_fresh_config_sub=true config_sub_paths=("conftools/config.sub") -files="https://github.com/libexpat/libexpat/releases/download/R_${version//./_}/expat-${version}.tar.xz expat-${version}.tar.xz f79b8f904b749e3e0d20afeadecf8249c55b2e32d4ebb089ae378df479dcaf25" +files=( + "https://github.com/libexpat/libexpat/releases/download/R_${version//./_}/expat-${version}.tar.xz expat-${version}.tar.xz f79b8f904b749e3e0d20afeadecf8249c55b2e32d4ebb089ae378df479dcaf25" +) workdir=expat-${version} diff --git a/Ports/libffi/package.sh b/Ports/libffi/package.sh index 5f7cf1cd94a..70c09fa4fca 100755 --- a/Ports/libffi/package.sh +++ b/Ports/libffi/package.sh @@ -3,4 +3,6 @@ port=libffi version=3.4.2 useconfigure=true use_fresh_config_sub=true -files="https://github.com/libffi/libffi/releases/download/v${version}/libffi-${version}.tar.gz libffi-${version}.tar.gz 540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" +files=( + "https://github.com/libffi/libffi/releases/download/v${version}/libffi-${version}.tar.gz libffi-${version}.tar.gz 540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620" +) diff --git a/Ports/libfftw3f/package.sh b/Ports/libfftw3f/package.sh index b57dc44db93..530989ac727 100755 --- a/Ports/libfftw3f/package.sh +++ b/Ports/libfftw3f/package.sh @@ -4,5 +4,7 @@ version=3.3.10 useconfigure=true configopts=("--enable-float") use_fresh_config_sub=true -files="http://fftw.org/fftw-${version}.tar.gz fftw-${version}.tar.gz 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467" +files=( + "http://fftw.org/fftw-${version}.tar.gz fftw-${version}.tar.gz 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467" +) workdir="fftw-${version}" diff --git a/Ports/libgcrypt/package.sh b/Ports/libgcrypt/package.sh index ef55116e30f..fac0e840a7b 100755 --- a/Ports/libgcrypt/package.sh +++ b/Ports/libgcrypt/package.sh @@ -6,7 +6,9 @@ use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") configopts=("--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local") depends=("libgpg-error") -files="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2 libgcrypt-${version}.tar.bz2 ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de" +files=( + "https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2 libgcrypt-${version}.tar.bz2 ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de" +) pre_configure() { export ac_cv_lib_pthread_pthread_create=no diff --git a/Ports/libgd/package.sh b/Ports/libgd/package.sh index 095f6822031..33125cfac1b 100755 --- a/Ports/libgd/package.sh +++ b/Ports/libgd/package.sh @@ -5,5 +5,7 @@ useconfigure=true use_fresh_config_sub=true configopts=("--without-x") config_sub_paths=("config/config.sub") -files="https://github.com/libgd/libgd/releases/download/gd-${version}/libgd-${version}.tar.gz libgd-${version}.tar.gz dd3f1f0bb016edcc0b2d082e8229c822ad1d02223511997c80461481759b1ed2" +files=( + "https://github.com/libgd/libgd/releases/download/gd-${version}/libgd-${version}.tar.gz libgd-${version}.tar.gz dd3f1f0bb016edcc0b2d082e8229c822ad1d02223511997c80461481759b1ed2" +) depends=("libpng") diff --git a/Ports/libgpg-error/package.sh b/Ports/libgpg-error/package.sh index 472f4cfbaff..fdca0c09ec7 100755 --- a/Ports/libgpg-error/package.sh +++ b/Ports/libgpg-error/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libgpg-error' version='1.45' -files="https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.bz2 libgpg-error-${version}.tar.bz2 570f8ee4fb4bff7b7495cff920c275002aea2147e9a1d220c068213267f80a26" +files=( + "https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.bz2 libgpg-error-${version}.tar.bz2 570f8ee4fb4bff7b7495cff920c275002aea2147e9a1d220c068213267f80a26" +) useconfigure='true' use_fresh_config_sub='true' config_sub_paths=("build-aux/config.sub") diff --git a/Ports/libiconv/package.sh b/Ports/libiconv/package.sh index cc6516b4907..413a504090f 100755 --- a/Ports/libiconv/package.sh +++ b/Ports/libiconv/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libiconv' version='1.17' -files="https://ftpmirror.gnu.org/gnu/libiconv/libiconv-${version}.tar.gz libiconv-${version}.tar.gz 8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313" +files=( + "https://ftpmirror.gnu.org/gnu/libiconv/libiconv-${version}.tar.gz libiconv-${version}.tar.gz 8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313" +) useconfigure='true' use_fresh_config_sub='true' config_sub_paths=("build-aux/config.sub" "libcharset/build-aux/config.sub") diff --git a/Ports/libicu/package.sh b/Ports/libicu/package.sh index a83a8405b4b..d1cca45b41e 100755 --- a/Ports/libicu/package.sh +++ b/Ports/libicu/package.sh @@ -4,7 +4,9 @@ version=69.1 useconfigure=true use_fresh_config_sub=true workdir=icu/source -files="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz icu4c-${version//./_}-src.tgz 4cba7b7acd1d3c42c44bb0c14be6637098c7faf2b330ce876bc5f3b915d09745" +files=( + "https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz icu4c-${version//./_}-src.tgz 4cba7b7acd1d3c42c44bb0c14be6637098c7faf2b330ce876bc5f3b915d09745" +) configure() { host_env diff --git a/Ports/libjodycode/package.sh b/Ports/libjodycode/package.sh index a368390f8f5..5dde838a003 100755 --- a/Ports/libjodycode/package.sh +++ b/Ports/libjodycode/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libjodycode' version='3.1' -files="https://github.com/jbruchon/libjodycode/archive/refs/tags/v${version}.tar.gz libjodycode-${version}.tar.gz c72974eb1d38873e06ea84b3d78990f87192f0113da5bd13fcac6bbc6a6e2184" +files=( + "https://github.com/jbruchon/libjodycode/archive/refs/tags/v${version}.tar.gz libjodycode-${version}.tar.gz c72974eb1d38873e06ea84b3d78990f87192f0113da5bd13fcac6bbc6a6e2184" +) auth_type='sha256' workdir="libjodycode-${version}" makeopts=("UNAME_S=serenity UNAME_M=${SERENITY_ARCH} CROSS_DETECT=cross") diff --git a/Ports/libjpeg/package.sh b/Ports/libjpeg/package.sh index de3b94c2ee5..1fc3902ec1a 100755 --- a/Ports/libjpeg/package.sh +++ b/Ports/libjpeg/package.sh @@ -3,5 +3,7 @@ port=libjpeg version=9e useconfigure=true configopts=("--disable-static" "--enable-shared") -files="https://ijg.org/files/jpegsrc.v${version}.tar.gz jpeg-${version}.tar.gz 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d" +files=( + "https://ijg.org/files/jpegsrc.v${version}.tar.gz jpeg-${version}.tar.gz 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d" +) workdir="jpeg-$version" diff --git a/Ports/libksba/package.sh b/Ports/libksba/package.sh index c86d9825ffc..e62de6c8793 100755 --- a/Ports/libksba/package.sh +++ b/Ports/libksba/package.sh @@ -5,7 +5,9 @@ useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") depends=("libgpg-error") -files="https://gnupg.org/ftp/gcrypt/libksba/libksba-${version}.tar.bz2 libksba-${version}.tar.bz2 b0f4c65e4e447d9a2349f6b8c0e77a28be9531e4548ba02c545d1f46dc7bf921" +files=( + "https://gnupg.org/ftp/gcrypt/libksba/libksba-${version}.tar.bz2 libksba-${version}.tar.bz2 b0f4c65e4e447d9a2349f6b8c0e77a28be9531e4548ba02c545d1f46dc7bf921" +) configopts=( "--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local" ) diff --git a/Ports/libmad/package.sh b/Ports/libmad/package.sh index 918bc8764b3..09a1d217b7f 100755 --- a/Ports/libmad/package.sh +++ b/Ports/libmad/package.sh @@ -5,4 +5,6 @@ useconfigure=true use_fresh_config_sub=true use_fresh_config_guess=true configopts=("--disable-static") -files="https://downloads.sourceforge.net/mad/libmad-${version}.tar.gz libmad-${version}.tar.gz bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690" +files=( + "https://downloads.sourceforge.net/mad/libmad-${version}.tar.gz libmad-${version}.tar.gz bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690" +) diff --git a/Ports/libmikmod/package.sh b/Ports/libmikmod/package.sh index 6274325ab94..80e407c139a 100755 --- a/Ports/libmikmod/package.sh +++ b/Ports/libmikmod/package.sh @@ -5,7 +5,9 @@ useconfigure=true configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") use_fresh_config_sub=true config_sub_paths=("autotools/config.sub") -files="https://downloads.sourceforge.net/project/mikmod/libmikmod/${version}/libmikmod-${version}.tar.gz libmikmod-${version}.tar.gz ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19" +files=( + "https://downloads.sourceforge.net/project/mikmod/libmikmod/${version}/libmikmod-${version}.tar.gz libmikmod-${version}.tar.gz ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19" +) configure() { run cmake "${configopts[@]}" . diff --git a/Ports/libmodplug/package.sh b/Ports/libmodplug/package.sh index a78e07e8abf..fa84d4be4ca 100755 --- a/Ports/libmodplug/package.sh +++ b/Ports/libmodplug/package.sh @@ -4,5 +4,7 @@ version=0.8.9.0 useconfigure=true use_fresh_config_sub=true configopts=("ac_cv_c_bigendian=no") -files="https://download.sourceforge.net/modplug-xmms/libmodplug-${version}.tar.gz libmodplug-${version}.tar.gz 457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de" +files=( + "https://download.sourceforge.net/modplug-xmms/libmodplug-${version}.tar.gz libmodplug-${version}.tar.gz 457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de" +) workdir="libmodplug-$version" diff --git a/Ports/libmpeg2/package.sh b/Ports/libmpeg2/package.sh index e41a524e0a0..d1346214dc0 100755 --- a/Ports/libmpeg2/package.sh +++ b/Ports/libmpeg2/package.sh @@ -5,4 +5,6 @@ useconfigure=true use_fresh_config_sub=true config_sub_paths=(".auto/config.sub") configopts=("--disable-sdl") -files="https://libmpeg2.sourceforge.io/files/libmpeg2-${version}.tar.gz libmpeg2-${version}.tar.gz dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4" +files=( + "https://libmpeg2.sourceforge.io/files/libmpeg2-${version}.tar.gz libmpeg2-${version}.tar.gz dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4" +) diff --git a/Ports/libmpg123/package.sh b/Ports/libmpg123/package.sh index 9d66c46d112..d4ad39cb5fd 100755 --- a/Ports/libmpg123/package.sh +++ b/Ports/libmpg123/package.sh @@ -5,4 +5,6 @@ useconfigure=true workdir=mpg123-${version} use_fresh_config_sub=true config_sub_paths=("build/config.sub") -files="https://download.sourceforge.net/project/mpg123/mpg123/${version}/mpg123-${version}.tar.bz2 mpg123-${version}.tar.bz2 963885d8cc77262f28b77187c7d189e32195e64244de2530b798ddf32183e847" +files=( + "https://download.sourceforge.net/project/mpg123/mpg123/${version}/mpg123-${version}.tar.bz2 mpg123-${version}.tar.bz2 963885d8cc77262f28b77187c7d189e32195e64244de2530b798ddf32183e847" +) diff --git a/Ports/libogg/package.sh b/Ports/libogg/package.sh index 1f946c48d00..6b5c88f3139 100755 --- a/Ports/libogg/package.sh +++ b/Ports/libogg/package.sh @@ -4,4 +4,6 @@ version=1.3.5 useconfigure=true configopts=("--disable-static" "--enable-shared") use_fresh_config_sub=true -files="https://github.com/xiph/ogg/releases/download/v${version}/libogg-${version}.tar.gz libogg-${version}.tar.gz 0eb4b4b9420a0f51db142ba3f9c64b333f826532dc0f48c6410ae51f4799b664" +files=( + "https://github.com/xiph/ogg/releases/download/v${version}/libogg-${version}.tar.gz libogg-${version}.tar.gz 0eb4b4b9420a0f51db142ba3f9c64b333f826532dc0f48c6410ae51f4799b664" +) diff --git a/Ports/liboggz/package.sh b/Ports/liboggz/package.sh index bfbc2464e69..552ca3fdb45 100755 --- a/Ports/liboggz/package.sh +++ b/Ports/liboggz/package.sh @@ -3,5 +3,7 @@ port=liboggz version=1.1.1 useconfigure=true use_fresh_config_sub=true -files="https://downloads.xiph.org/releases/liboggz/liboggz-${version}.tar.gz liboggz-${version}.tar.gz 6bafadb1e0a9ae4ac83304f38621a5621b8e8e32927889e65a98706d213d415a" +files=( + "https://downloads.xiph.org/releases/liboggz/liboggz-${version}.tar.gz liboggz-${version}.tar.gz 6bafadb1e0a9ae4ac83304f38621a5621b8e8e32927889e65a98706d213d415a" +) depends=("libogg") diff --git a/Ports/libopenal/package.sh b/Ports/libopenal/package.sh index 783e7edd266..d92ea366f82 100755 --- a/Ports/libopenal/package.sh +++ b/Ports/libopenal/package.sh @@ -11,7 +11,9 @@ configopts=( '-DHAVE_SDL2=1' '-DALSOFT_BACKEND_SDL2=ON' ) -files="https://openal-soft.org/openal-releases/openal-soft-${version}.tar.bz2 openal-soft-${version}.tar.bz2 c8ad767e9a3230df66756a21cc8ebf218a9d47288f2514014832204e666af5d8" +files=( + "https://openal-soft.org/openal-releases/openal-soft-${version}.tar.bz2 openal-soft-${version}.tar.bz2 c8ad767e9a3230df66756a21cc8ebf218a9d47288f2514014832204e666af5d8" +) configure() { run cmake "${configopts[@]}" diff --git a/Ports/libopus/package.sh b/Ports/libopus/package.sh index 25db59f879f..90f3f341801 100755 --- a/Ports/libopus/package.sh +++ b/Ports/libopus/package.sh @@ -4,4 +4,6 @@ version='1.3.1' workdir='opus-1.3.1' useconfigure='true' use_fresh_config_sub='true' -files="https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz opus-${version}.tar.gz 65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d" +files=( + "https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz opus-${version}.tar.gz 65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d" +) diff --git a/Ports/libphysfs/package.sh b/Ports/libphysfs/package.sh index 2dab8376990..591eeec8df6 100755 --- a/Ports/libphysfs/package.sh +++ b/Ports/libphysfs/package.sh @@ -4,7 +4,9 @@ useconfigure=true version=3.0.2 workdir="physfs-${version}" configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") -files="https://icculus.org/physfs/downloads/physfs-${version}.tar.bz2 physfs-${version}.tar.bz2 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863" +files=( + "https://icculus.org/physfs/downloads/physfs-${version}.tar.bz2 physfs-${version}.tar.bz2 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863" +) configure() { run cmake "${configopts[@]}" diff --git a/Ports/libpng/package.sh b/Ports/libpng/package.sh index 26a91c34f1b..5f27639b3d0 100755 --- a/Ports/libpng/package.sh +++ b/Ports/libpng/package.sh @@ -4,5 +4,7 @@ version='1.6.39' useconfigure='true' configopts=("--disable-static" "--enable-shared") use_fresh_config_sub='true' -files="https://download.sourceforge.net/libpng/libpng-${version}.tar.gz libpng-${version}.tar.gz af4fb7f260f839919e5958e5ab01a275d4fe436d45442a36ee62f73e5beb75ba" +files=( + "https://download.sourceforge.net/libpng/libpng-${version}.tar.gz libpng-${version}.tar.gz af4fb7f260f839919e5958e5ab01a275d4fe436d45442a36ee62f73e5beb75ba" +) depends=("zlib") diff --git a/Ports/libpuffy/package.sh b/Ports/libpuffy/package.sh index 8e2f3f2a25b..b6d1ecd8daf 100755 --- a/Ports/libpuffy/package.sh +++ b/Ports/libpuffy/package.sh @@ -1,4 +1,6 @@ #!/usr/bin/env -S bash ../.port_include.sh port=libpuffy version=1.0 -files="https://github.com/ibara/libpuffy/releases/download/libpuffy-${version}/libpuffy-${version}.tar.gz libpuffy-${version}.tar.gz 919bb025fed88227fe464116194c978513a864a223542f50c59a7c17b0dd9caa" +files=( + "https://github.com/ibara/libpuffy/releases/download/libpuffy-${version}/libpuffy-${version}.tar.gz libpuffy-${version}.tar.gz 919bb025fed88227fe464116194c978513a864a223542f50c59a7c17b0dd9caa" +) diff --git a/Ports/libsamplerate/package.sh b/Ports/libsamplerate/package.sh index 9b470242c11..08df43c5615 100755 --- a/Ports/libsamplerate/package.sh +++ b/Ports/libsamplerate/package.sh @@ -8,4 +8,6 @@ configopts=( '--disable-static' '--enable-shared' ) -files="https://github.com/libsndfile/libsamplerate/releases/download/${version}/libsamplerate-${version}.tar.xz libsamplerate-${version}.tar.xz 3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893" +files=( + "https://github.com/libsndfile/libsamplerate/releases/download/${version}/libsamplerate-${version}.tar.xz libsamplerate-${version}.tar.xz 3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893" +) diff --git a/Ports/libsixel/package.sh b/Ports/libsixel/package.sh index 98319e1737f..10bb8860c27 100755 --- a/Ports/libsixel/package.sh +++ b/Ports/libsixel/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=libsixel version=1.8.6 -files="https://github.com/saitoha/libsixel/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz 37611d60c7dbcee701346967336dbf135fdd5041024d5f650d52fae14c731ab9" +files=( + "https://github.com/saitoha/libsixel/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz 37611d60c7dbcee701346967336dbf135fdd5041024d5f650d52fae14c731ab9" +) useconfigure=true use_fresh_config_sub=true configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local") diff --git a/Ports/libslirp/package.sh b/Ports/libslirp/package.sh index 6c58a3d28c0..32dfa21d597 100755 --- a/Ports/libslirp/package.sh +++ b/Ports/libslirp/package.sh @@ -2,7 +2,9 @@ port='libslirp' version='4.7.0' workdir="libslirp-v${version}" -files="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${version}/libslirp-v${version}.tar.gz libslirp-v${version}.tar.xz 9398f0ec5a581d4e1cd6856b88ae83927e458d643788c3391a39e61b75db3d3b" +files=( + "https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${version}/libslirp-v${version}.tar.gz libslirp-v${version}.tar.xz 9398f0ec5a581d4e1cd6856b88ae83927e458d643788c3391a39e61b75db3d3b" +) useconfigure='true' configopts=("--cross-file=${SERENITY_BUILD_DIR}/meson-cross-file.txt") depends=('glib') diff --git a/Ports/libsodium/package.sh b/Ports/libsodium/package.sh index ff9332ae105..02262c6e449 100755 --- a/Ports/libsodium/package.sh +++ b/Ports/libsodium/package.sh @@ -6,4 +6,6 @@ configopts=("--disable-static" "--enable-shared") use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") workdir=libsodium-${version} -files="https://download.libsodium.org/libsodium/releases/libsodium-${version}.tar.gz libsodium-${version}.tar.gz 6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1" +files=( + "https://download.libsodium.org/libsodium/releases/libsodium-${version}.tar.gz libsodium-${version}.tar.gz 6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1" +) diff --git a/Ports/libssh2/package.sh b/Ports/libssh2/package.sh index d2586f3a536..640505195c1 100755 --- a/Ports/libssh2/package.sh +++ b/Ports/libssh2/package.sh @@ -2,7 +2,9 @@ port=libssh2 version=1.10.0 useconfigure=true -files="https://www.libssh2.org/download/libssh2-${version}.tar.gz libssh2-${version}.tar.gz 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51" +files=( + "https://www.libssh2.org/download/libssh2-${version}.tar.gz libssh2-${version}.tar.gz 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51" +) depends=("libgcrypt") configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja") diff --git a/Ports/libtheora/package.sh b/Ports/libtheora/package.sh index 74cff51268a..d0596a4d83b 100755 --- a/Ports/libtheora/package.sh +++ b/Ports/libtheora/package.sh @@ -4,6 +4,8 @@ version=1.1.1 useconfigure=true configopts=() use_fresh_config_sub=true -files="https://ftp.osuosl.org/pub/xiph/releases/theora/libtheora-${version}.tar.bz2 libtheora-${version}.tar.bz2 b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc" +files=( + "https://ftp.osuosl.org/pub/xiph/releases/theora/libtheora-${version}.tar.bz2 libtheora-${version}.tar.bz2 b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc" +) depends=("libvorbis") configopts=("--disable-examples" "--disable-static" "--enable-shared") diff --git a/Ports/libtiff/package.sh b/Ports/libtiff/package.sh index 4bdf1ae6409..0aec559a08e 100755 --- a/Ports/libtiff/package.sh +++ b/Ports/libtiff/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libtiff' version='4.5.0' -files="http://download.osgeo.org/libtiff/tiff-${version}.tar.xz tiff-${version}.tar.xz dafac979c5e7b6c650025569c5a4e720995ba5f17bc17e6276d1f12427be267c" +files=( + "http://download.osgeo.org/libtiff/tiff-${version}.tar.xz tiff-${version}.tar.xz dafac979c5e7b6c650025569c5a4e720995ba5f17bc17e6276d1f12427be267c" +) useconfigure='true' configopts=( "--with-sysroot=${SERENITY_INSTALL_ROOT}" diff --git a/Ports/libtool/package.sh b/Ports/libtool/package.sh index f05b2e4ee78..44636572fe7 100755 --- a/Ports/libtool/package.sh +++ b/Ports/libtool/package.sh @@ -5,7 +5,9 @@ useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") depends=("bash" "sed") -files="https://ftpmirror.gnu.org/gnu/libtool/libtool-${version}.tar.xz libtool-${version}.tar.xz 4f7f217f057ce655ff22559ad221a0fd8ef84ad1fc5fcb6990cecc333aa1635d" +files=( + "https://ftpmirror.gnu.org/gnu/libtool/libtool-${version}.tar.xz libtool-${version}.tar.xz 4f7f217f057ce655ff22559ad221a0fd8ef84ad1fc5fcb6990cecc333aa1635d" +) configopts=("--prefix=/usr/local") post_install() { diff --git a/Ports/libunistring/package.sh b/Ports/libunistring/package.sh index e48eb9cc98a..e2f0ade3db1 100755 --- a/Ports/libunistring/package.sh +++ b/Ports/libunistring/package.sh @@ -1,6 +1,8 @@ #!/usr/bin/env -S bash ../.port_include.sh port=libunistring version=1.0 -files="https://ftpmirror.gnu.org/gnu/libunistring/libunistring-${version}.tar.gz libunistring-${version}.tar.gz 3c0184c0e492d7c208ce31d25dd1d2c58f0c3ed6cbbe032c5b248cddad318544" +files=( + "https://ftpmirror.gnu.org/gnu/libunistring/libunistring-${version}.tar.gz libunistring-${version}.tar.gz 3c0184c0e492d7c208ce31d25dd1d2c58f0c3ed6cbbe032c5b248cddad318544" +) useconfigure=true diff --git a/Ports/libuuid/package.sh b/Ports/libuuid/package.sh index 235daf3b339..846efb962ac 100755 --- a/Ports/libuuid/package.sh +++ b/Ports/libuuid/package.sh @@ -5,6 +5,8 @@ version=2.38 workdir="util-linux-${version}" useconfigure=true configopts=("--prefix=/usr/local" "--disable-all-programs" "--enable-libuuid") -files="https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${version}/util-linux-${version}.tar.gz util-linux-${version}.tar.gz c31d4e54f30b56b0f7ec8b342658c07de81378f2c067941c2b886da356f8ad42" +files=( + "https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${version}/util-linux-${version}.tar.gz util-linux-${version}.tar.gz c31d4e54f30b56b0f7ec8b342658c07de81378f2c067941c2b886da356f8ad42" +) use_fresh_config_sub=true config_sub_paths=("config/config.sub") diff --git a/Ports/libuv/package.sh b/Ports/libuv/package.sh index fada74bb4b1..0c6f8f3430a 100755 --- a/Ports/libuv/package.sh +++ b/Ports/libuv/package.sh @@ -2,7 +2,9 @@ port=libuv version=1.44.1 useconfigure=true -files="https://github.com/libuv/libuv/archive/refs/tags/v$version.tar.gz $port-$version.tar.gz e91614e6dc2dd0bfdd140ceace49438882206b7a6fb00b8750914e67a9ed6d6b" +files=( + "https://github.com/libuv/libuv/archive/refs/tags/v$version.tar.gz $port-$version.tar.gz e91614e6dc2dd0bfdd140ceace49438882206b7a6fb00b8750914e67a9ed6d6b" +) configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=true") configure() { diff --git a/Ports/libvorbis/package.sh b/Ports/libvorbis/package.sh index a30b3eb83e2..08e2308d022 100755 --- a/Ports/libvorbis/package.sh +++ b/Ports/libvorbis/package.sh @@ -4,7 +4,9 @@ version=1.3.7 useconfigure=true configopts=("--disable-static" "--enable-shared") use_fresh_config_sub=true -files="https://github.com/xiph/vorbis/releases/download/v${version}/libvorbis-${version}.tar.gz libvorbis-${version}.tar.gz 0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab" +files=( + "https://github.com/xiph/vorbis/releases/download/v${version}/libvorbis-${version}.tar.gz libvorbis-${version}.tar.gz 0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab" +) depends=("libogg") post_install() { diff --git a/Ports/libxml2/package.sh b/Ports/libxml2/package.sh index b58f5a8dc7d..c728d2631b6 100755 --- a/Ports/libxml2/package.sh +++ b/Ports/libxml2/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libxml2' version='2.9.14' -files="https://download.gnome.org/sources/libxml2/2.9/libxml2-${version}.tar.xz libxml2-${version}.tar.xz 60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee" +files=( + "https://download.gnome.org/sources/libxml2/2.9/libxml2-${version}.tar.xz libxml2-${version}.tar.xz 60d74a257d1ccec0475e749cba2f21559e48139efba6ff28224357c7c798dfee" +) useconfigure='true' use_fresh_config_sub='true' configopts=("--with-sysroot=${SERENITY_INSTALL_ROOT}" "--prefix=/usr/local" "--without-python" "--disable-static" "--enable-shared") diff --git a/Ports/libyaml/package.sh b/Ports/libyaml/package.sh index 2632a3e96c8..8901ab1d7fb 100755 --- a/Ports/libyaml/package.sh +++ b/Ports/libyaml/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libyaml' version='0.2.5' -files="https://github.com/yaml/libyaml/releases/download/${version}/yaml-${version}.tar.gz yaml-${version}.tar.gz c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4" +files=( + "https://github.com/yaml/libyaml/releases/download/${version}/yaml-${version}.tar.gz yaml-${version}.tar.gz c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4" +) useconfigure='true' use_fresh_config_sub='true' config_sub_paths=("config/config.sub") diff --git a/Ports/libzip/package.sh b/Ports/libzip/package.sh index 1f305da746a..d0cee1357a8 100755 --- a/Ports/libzip/package.sh +++ b/Ports/libzip/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libzip' version='1.8.0' -files="https://libzip.org/download/libzip-${version}.tar.gz libzip-${version}.tar.gz 30ee55868c0a698d3c600492f2bea4eb62c53849bcf696d21af5eb65f3f3839e" +files=( + "https://libzip.org/download/libzip-${version}.tar.gz libzip-${version}.tar.gz 30ee55868c0a698d3c600492f2bea4eb62c53849bcf696d21af5eb65f3f3839e" +) useconfigure='true' configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") depends=("zlib") diff --git a/Ports/links/package.sh b/Ports/links/package.sh index e0577bcc01c..db157dfff28 100755 --- a/Ports/links/package.sh +++ b/Ports/links/package.sh @@ -2,4 +2,6 @@ port='links' version='2.26' useconfigure='true' -files="http://links.twibright.com/download/links-${version}.tar.bz2 links-${version}.tar.bz2 f05b3577f25dbe63e491c424f0ecb31f7bfadce9b2bc2f111dfed049c004c9cb" +files=( + "http://links.twibright.com/download/links-${version}.tar.bz2 links-${version}.tar.bz2 f05b3577f25dbe63e491c424f0ecb31f7bfadce9b2bc2f111dfed049c004c9cb" +) diff --git a/Ports/lite-xl/package.sh b/Ports/lite-xl/package.sh index 4cc5cfacfcb..343f7735b75 100755 --- a/Ports/lite-xl/package.sh +++ b/Ports/lite-xl/package.sh @@ -13,7 +13,9 @@ depends=( 'pcre2' 'SDL2' ) -files="https://github.com/lite-xl/lite-xl/archive/${commit_hash}.tar.gz lite-xl-97ba91af8.tar.gz 25a0dd0a6ef856fd312eecd54983d401224eb8d7a5d5aa4a37c9131ac77bd9ca" +files=( + "https://github.com/lite-xl/lite-xl/archive/${commit_hash}.tar.gz lite-xl-97ba91af8.tar.gz 25a0dd0a6ef856fd312eecd54983d401224eb8d7a5d5aa4a37c9131ac77bd9ca" +) workdir="lite-xl-${commit_hash}" launcher_name='Lite-XL' icon_file='resources/icons/icon.ico' diff --git a/Ports/llvm/package.sh b/Ports/llvm/package.sh index 66454307bc6..eba986bbba4 100755 --- a/Ports/llvm/package.sh +++ b/Ports/llvm/package.sh @@ -6,7 +6,9 @@ workdir="llvm-project-${version}.src" configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" ) -files="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz llvm-project-${version}.src.tar.xz ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e" +files=( + "https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/llvm-project-${version}.src.tar.xz llvm-project-${version}.src.tar.xz ce5e71081d17ce9e86d7cbcfa28c4b04b9300f8fb7e78422b1feb6bc52c3028e" +) depends=( "ncurses" "zlib" diff --git a/Ports/lowdown/package.sh b/Ports/lowdown/package.sh index 3628749feea..1a42048bd25 100755 --- a/Ports/lowdown/package.sh +++ b/Ports/lowdown/package.sh @@ -3,7 +3,9 @@ port='lowdown' version='1.0.2' workdir="lowdown-VERSION_${version//./_}" -files="https://github.com/kristapsdz/lowdown/archive/refs/tags/VERSION_${version//./_}.tar.gz lowdown-${version}.tar.gz 049b7883874f8a8e528dc7c4ed7b27cf7ceeb9ecf8fe71c3a8d51d574fddf84b" +files=( + "https://github.com/kristapsdz/lowdown/archive/refs/tags/VERSION_${version//./_}.tar.gz lowdown-${version}.tar.gz 049b7883874f8a8e528dc7c4ed7b27cf7ceeb9ecf8fe71c3a8d51d574fddf84b" +) useconfigure='true' configure() { diff --git a/Ports/lrzip/package.sh b/Ports/lrzip/package.sh index 6cd95ed665f..714da028ff4 100755 --- a/Ports/lrzip/package.sh +++ b/Ports/lrzip/package.sh @@ -3,7 +3,9 @@ port='lrzip' version='0.651' useconfigure='true' use_fresh_config_sub='true' -files="http://ck.kolivas.org/apps/lrzip/lrzip-${version}.tar.xz lrzip-${version}.tar.xz 48bd8decb097c1596c9b3777959cd3e332819434ed77a2823e65aa436f1602f9" +files=( + "http://ck.kolivas.org/apps/lrzip/lrzip-${version}.tar.xz lrzip-${version}.tar.xz 48bd8decb097c1596c9b3777959cd3e332819434ed77a2823e65aa436f1602f9" +) depends=( 'bzip2' 'lz4' diff --git a/Ports/lua/package.sh b/Ports/lua/package.sh index cef263f4b18..99f337f6590 100755 --- a/Ports/lua/package.sh +++ b/Ports/lua/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='lua' version='5.4.4' -files="http://www.lua.org/ftp/lua-${version}.tar.gz lua-${version}.tar.gz 164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61" +files=( + "http://www.lua.org/ftp/lua-${version}.tar.gz lua-${version}.tar.gz 164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61" +) depends=("readline") makeopts=( "-Csrc/" diff --git a/Ports/luajit/package.sh b/Ports/luajit/package.sh index 94403928a2f..5eaf8b2105f 100755 --- a/Ports/luajit/package.sh +++ b/Ports/luajit/package.sh @@ -2,7 +2,9 @@ port=luajit version=2.1.0-beta3 useconfigure=true -files="https://luajit.org/download/LuaJIT-${version}.tar.gz LuaJIT-${version}.tar.gz 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3" +files=( + "https://luajit.org/download/LuaJIT-${version}.tar.gz LuaJIT-${version}.tar.gz 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3" +) workdir="LuaJIT-${version}" if [ ${SERENITY_ARCH} = "x86_64" ]; then diff --git a/Ports/luarocks/package.sh b/Ports/luarocks/package.sh index 6b523d88240..c5b0ade4fe4 100755 --- a/Ports/luarocks/package.sh +++ b/Ports/luarocks/package.sh @@ -3,7 +3,9 @@ port=luarocks version=3.8.0 useconfigure=true depends=("lua" "git" "readline") -files="https://luarocks.org/releases/luarocks-${version}.tar.gz luarocks-${version}.tar.gz 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923" +files=( + "https://luarocks.org/releases/luarocks-${version}.tar.gz luarocks-${version}.tar.gz 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923" +) configure() { run ./configure --with-lua-include=${SERENITY_INSTALL_ROOT}/usr/local/include --prefix=/usr/local --with-lua-interpreter=lua diff --git a/Ports/lure/package.sh b/Ports/lure/package.sh index cde645e8593..2e08a7d4cf2 100755 --- a/Ports/lure/package.sh +++ b/Ports/lure/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=lure version="1.1" -files="https://downloads.scummvm.org/frs/extras/Lure%20of%20the%20Temptress/lure-1.1.zip ${port}-${version}.zip f3178245a1483da1168c3a11e70b65d33c389f1f5df63d4f3a356886c1890108" +files=( + "https://downloads.scummvm.org/frs/extras/Lure%20of%20the%20Temptress/lure-1.1.zip ${port}-${version}.zip f3178245a1483da1168c3a11e70b65d33c389f1f5df63d4f3a356886c1890108" +) depends=("scummvm") workdir="lure" diff --git a/Ports/lynx/package.sh b/Ports/lynx/package.sh index 2a8764177a6..615462091bc 100755 --- a/Ports/lynx/package.sh +++ b/Ports/lynx/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='lynx' version='2.8.9rel.1' -files="https://invisible-island.net/archives/lynx/tarballs/lynx${version}.tar.bz2 lynx${version}.tar.bz2 387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595" +files=( + "https://invisible-island.net/archives/lynx/tarballs/lynx${version}.tar.bz2 lynx${version}.tar.bz2 387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595" +) workdir="lynx${version}" depends=('ncurses' 'openssl' 'zlib') useconfigure='true' diff --git a/Ports/lz4/package.sh b/Ports/lz4/package.sh index 70c45e38b5b..5a1731588d6 100755 --- a/Ports/lz4/package.sh +++ b/Ports/lz4/package.sh @@ -1,4 +1,6 @@ #!/usr/bin/env -S bash ../.port_include.sh port='lz4' version='1.9.4' -files="https://github.com/lz4/lz4/archive/refs/tags/v${version}.tar.gz lz4-${version}.tar.gz 0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b" +files=( + "https://github.com/lz4/lz4/archive/refs/tags/v${version}.tar.gz lz4-${version}.tar.gz 0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b" +) diff --git a/Ports/lzo/package.sh b/Ports/lzo/package.sh index 91fb1eb1d9a..1d9f4c67aeb 100755 --- a/Ports/lzo/package.sh +++ b/Ports/lzo/package.sh @@ -4,4 +4,6 @@ version='2.10' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('autoconf/config.sub') -files="https://www.oberhumer.com/opensource/lzo/download/lzo-${version}.tar.gz lzo-${version}.tar.gz c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072" +files=( + "https://www.oberhumer.com/opensource/lzo/download/lzo-${version}.tar.gz lzo-${version}.tar.gz c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072" +) diff --git a/Ports/lzop/package.sh b/Ports/lzop/package.sh index ddfa3ff7d33..9b5d1c1b504 100755 --- a/Ports/lzop/package.sh +++ b/Ports/lzop/package.sh @@ -4,5 +4,7 @@ version='1.04' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('autoconf/config.sub') -files="https://www.lzop.org/download/lzop-${version}.tar.gz lzop-${version}.tar.gz 7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41" +files=( + "https://www.lzop.org/download/lzop-${version}.tar.gz lzop-${version}.tar.gz 7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41" +) depends=("lzo") diff --git a/Ports/m4/package.sh b/Ports/m4/package.sh index 47a813489fc..f235f975103 100755 --- a/Ports/m4/package.sh +++ b/Ports/m4/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='m4' version='1.4.19' -files="https://ftpmirror.gnu.org/gnu/m4/m4-${version}.tar.gz m4-${version}.tar.gz 3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70" +files=( + "https://ftpmirror.gnu.org/gnu/m4/m4-${version}.tar.gz m4-${version}.tar.gz 3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70" +) useconfigure='true' use_fresh_config_sub='true' config_sub_paths=("build-aux/config.sub") diff --git a/Ports/make/package.sh b/Ports/make/package.sh index 6cd21ada167..dab0903e63b 100755 --- a/Ports/make/package.sh +++ b/Ports/make/package.sh @@ -4,5 +4,7 @@ version='4.4.1' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=("build-aux/config.sub") -files="https://ftpmirror.gnu.org/gnu/make/make-${version}.tar.gz make-${version}.tar.gz dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3" +files=( + "https://ftpmirror.gnu.org/gnu/make/make-${version}.tar.gz make-${version}.tar.gz dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3" +) configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--without-guile") diff --git a/Ports/mandoc/package.sh b/Ports/mandoc/package.sh index d3b27b66427..daf3dd20688 100755 --- a/Ports/mandoc/package.sh +++ b/Ports/mandoc/package.sh @@ -2,5 +2,7 @@ port=mandoc version=1.14.5 useconfigure=true -files="https://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz mandoc-${version}.tar.gz 8219b42cb56fc07b2aa660574e6211ac38eefdbf21f41b698d3348793ba5d8f7" +files=( + "https://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz mandoc-${version}.tar.gz 8219b42cb56fc07b2aa660574e6211ac38eefdbf21f41b698d3348793ba5d8f7" +) depends=("less" "pcre2" "zlib") diff --git a/Ports/mawk/package.sh b/Ports/mawk/package.sh index 7931993bf67..f4d2fbc551a 100755 --- a/Ports/mawk/package.sh +++ b/Ports/mawk/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=mawk version=1.3.4-20200120 -files="https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz mawk-${version}.tgz 7fd4cd1e1fae9290fe089171181bbc6291dfd9bca939ca804f0ddb851c8b8237" +files=( + "https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz mawk-${version}.tgz 7fd4cd1e1fae9290fe089171181bbc6291dfd9bca939ca804f0ddb851c8b8237" +) useconfigure=true use_fresh_config_sub=true diff --git a/Ports/mbedtls/package.sh b/Ports/mbedtls/package.sh index 468ddd0c91f..982a08c8342 100755 --- a/Ports/mbedtls/package.sh +++ b/Ports/mbedtls/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='mbedtls' version='3.1.0' -files="https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${version}.tar.gz mbedtls-${version}.tgz b02df6f68dd1537e115a8497d5c173dc71edc55ad084756e57a30f951b725acd" +files=( + "https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${version}.tar.gz mbedtls-${version}.tgz b02df6f68dd1537e115a8497d5c173dc71edc55ad084756e57a30f951b725acd" +) makeopts=( "SHARED=1" ) diff --git a/Ports/mc/package.sh b/Ports/mc/package.sh index a64d7626ee7..a6927a36ccf 100755 --- a/Ports/mc/package.sh +++ b/Ports/mc/package.sh @@ -2,7 +2,9 @@ port=mc version=4.8.29 useconfigure=true -files="http://ftp.midnight-commander.org/mc-${version}.tar.xz ${port}-${version}.tar.xz 01d8a3b94f58180cca5bf17257b5078d1fd6fd27a9b5c0e970ec767549540ad4" +files=( + "http://ftp.midnight-commander.org/mc-${version}.tar.xz ${port}-${version}.tar.xz 01d8a3b94f58180cca5bf17257b5078d1fd6fd27a9b5c0e970ec767549540ad4" +) depends=("gettext" "glib" "libtool" "ncurses" "vim") configopts=( "--disable-largefile" diff --git a/Ports/md4c/package.sh b/Ports/md4c/package.sh index 9afb92f5dbd..c32862769c6 100755 --- a/Ports/md4c/package.sh +++ b/Ports/md4c/package.sh @@ -2,7 +2,9 @@ port='md4c' version='0.4.8' workdir="md4c-release-${version}" -files="https://github.com/mity/md4c/archive/release-${version}.tar.gz md4c-${version}.tar.gz 4a457df853425b6bb6e3457aa1d1a13bccec587a04c38c622b1013a0da41439f" +files=( + "https://github.com/mity/md4c/archive/release-${version}.tar.gz md4c-${version}.tar.gz 4a457df853425b6bb6e3457aa1d1a13bccec587a04c38c622b1013a0da41439f" +) useconfigure='true' configure() { diff --git a/Ports/mednafen/package.sh b/Ports/mednafen/package.sh index 8c9c7bc6942..b1ce4713689 100755 --- a/Ports/mednafen/package.sh +++ b/Ports/mednafen/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='mednafen' version='1.31.0-UNSTABLE' -files="https://mednafen.github.io/releases/files/mednafen-${version}.tar.xz mednafen-${version}.tar.xz bfcff72e370e09e12ba3791600782187fbf5e2cc9d6b5fe4f9f3471642046367" +files=( + "https://mednafen.github.io/releases/files/mednafen-${version}.tar.xz mednafen-${version}.tar.xz bfcff72e370e09e12ba3791600782187fbf5e2cc9d6b5fe4f9f3471642046367" +) workdir="mednafen" useconfigure='true' use_fresh_config_sub='true' diff --git a/Ports/mgba/package.sh b/Ports/mgba/package.sh index f395d60ada7..4365c71129f 100755 --- a/Ports/mgba/package.sh +++ b/Ports/mgba/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=mgba version=0.9.3 -files="https://github.com/mgba-emu/mgba/archive/refs/tags/${version}.tar.gz mgba-${version}.tar.gz 692ff0ac50e18380df0ff3ee83071f9926715200d0dceedd9d16a028a59537a0" +files=( + "https://github.com/mgba-emu/mgba/archive/refs/tags/${version}.tar.gz mgba-${version}.tar.gz 692ff0ac50e18380df0ff3ee83071f9926715200d0dceedd9d16a028a59537a0" +) configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") useconfigure=true depends=("SDL2" "zlib" "sqlite" "libpng" "libzip") diff --git a/Ports/milkytracker/package.sh b/Ports/milkytracker/package.sh index 93f60fb4b2d..e3f1f25dbb8 100755 --- a/Ports/milkytracker/package.sh +++ b/Ports/milkytracker/package.sh @@ -3,7 +3,9 @@ port=milkytracker version=1.03.00 workdir=MilkyTracker-$version useconfigure=true -files="https://github.com/milkytracker/MilkyTracker/archive/v$version.tar.gz MilkyTracker-$version.tar.gz 72d5357e303380b52383b66b51f944a77cd77e2b3bfeb227d87cc0e72ab292f7" +files=( + "https://github.com/milkytracker/MilkyTracker/archive/v$version.tar.gz MilkyTracker-$version.tar.gz 72d5357e303380b52383b66b51f944a77cd77e2b3bfeb227d87cc0e72ab292f7" +) configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") depends=("SDL2" "zlib") launcher_name="MilkyTracker" diff --git a/Ports/mold/package.sh b/Ports/mold/package.sh index 4fafa68deeb..16a8f57207a 100755 --- a/Ports/mold/package.sh +++ b/Ports/mold/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=mold version=1.5.1 -files="https://github.com/rui314/mold/archive/refs/tags/v${version}.tar.gz mold-${version}.tgz ec94aa74758f1bc199a732af95c6304ec98292b87f2f4548ce8436a7c5b054a1" +files=( + "https://github.com/rui314/mold/archive/refs/tags/v${version}.tar.gz mold-${version}.tgz ec94aa74758f1bc199a732af95c6304ec98292b87f2f4548ce8436a7c5b054a1" +) depends=("zlib" "openssl" "zstd") useconfigure='true' configopts=( diff --git a/Ports/mpc/package.sh b/Ports/mpc/package.sh index ee93c882925..57f24c118f8 100755 --- a/Ports/mpc/package.sh +++ b/Ports/mpc/package.sh @@ -5,5 +5,7 @@ useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=${SERENITY_INSTALL_ROOT}") -files="https://ftpmirror.gnu.org/gnu/mpc/mpc-${version}.tar.gz mpc-${version}.tar.gz 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459" +files=( + "https://ftpmirror.gnu.org/gnu/mpc/mpc-${version}.tar.gz mpc-${version}.tar.gz 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459" +) depends=("gmp" "mpfr") diff --git a/Ports/mpfr/package.sh b/Ports/mpfr/package.sh index 574573a5413..13ab06351f2 100755 --- a/Ports/mpfr/package.sh +++ b/Ports/mpfr/package.sh @@ -4,5 +4,7 @@ version=4.1.0 useconfigure=true use_fresh_config_sub=true configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/") -files="https://ftpmirror.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz mpfr-${version}.tar.xz 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f" +files=( + "https://ftpmirror.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz mpfr-${version}.tar.xz 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f" +) depends=("gmp") diff --git a/Ports/mrsh/package.sh b/Ports/mrsh/package.sh index 2a07b75132c..5133f2b8049 100755 --- a/Ports/mrsh/package.sh +++ b/Ports/mrsh/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=mrsh version=cd3c3a48055ab4085d83f149ff4b4feba40b40cb -files="https://github.com/emersion/mrsh/archive/${version}.tar.gz ${port}-${version}.tar.gz d26e3fdee71ef168cf3f8ad2912c148b20aab524048e4ea899d6b83fb299ceab" +files=( + "https://github.com/emersion/mrsh/archive/${version}.tar.gz ${port}-${version}.tar.gz d26e3fdee71ef168cf3f8ad2912c148b20aab524048e4ea899d6b83fb299ceab" +) useconfigure=true configopts=( "--without-readline" diff --git a/Ports/mruby/package.sh b/Ports/mruby/package.sh index d947b3516b4..87c7069bb04 100755 --- a/Ports/mruby/package.sh +++ b/Ports/mruby/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=mruby version=3.0.0 -files="https://github.com/mruby/mruby/archive/refs/tags/${version}.tar.gz mruby-${version}.tar.gz 95b798cdd931ef29d388e2b0b267cba4dc469e8722c37d4ef8ee5248bc9075b0" +files=( + "https://github.com/mruby/mruby/archive/refs/tags/${version}.tar.gz mruby-${version}.tar.gz 95b798cdd931ef29d388e2b0b267cba4dc469e8722c37d4ef8ee5248bc9075b0" +) build_config="serenity" build_dir="build/${build_config}" diff --git a/Ports/mysthous/package.sh b/Ports/mysthous/package.sh index 942601df85b..ab8e2039c98 100755 --- a/Ports/mysthous/package.sh +++ b/Ports/mysthous/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=mysthous version="1.0" -files="https://downloads.scummvm.org/frs/extras/Mystery%20House/MYSTHOUS.zip ${port}-${version}.zip ada412228a149394489b28c6c7f9ebab0722b52e04732fd0aa22949673cfa3a0" +files=( + "https://downloads.scummvm.org/frs/extras/Mystery%20House/MYSTHOUS.zip ${port}-${version}.zip ada412228a149394489b28c6c7f9ebab0722b52e04732fd0aa22949673cfa3a0" +) depends=("scummvm") resource_path="/usr/local/share/games/${port}-${version}" diff --git a/Ports/nano/package.sh b/Ports/nano/package.sh index b59ea767321..fab021fff0b 100755 --- a/Ports/nano/package.sh +++ b/Ports/nano/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='nano' version='7.2' -files="https://www.nano-editor.org/dist/v7/nano-${version}.tar.xz nano-${version}.tar.xz 86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526" +files=( + "https://www.nano-editor.org/dist/v7/nano-${version}.tar.xz nano-${version}.tar.xz 86f3442768bd2873cec693f83cdf80b4b444ad3cc14760b74361474fc87a4526" +) useconfigure='true' use_fresh_config_sub='true' configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--disable-browser" "--disable-utf8") diff --git a/Ports/nasm/package.sh b/Ports/nasm/package.sh index dde6c526b3c..a11ca4144ad 100755 --- a/Ports/nasm/package.sh +++ b/Ports/nasm/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=nasm version=2.16.01 -files="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.gz nasm-${version}.tar.gz d833bf0f5716e89dbcd345b7f545f25fe348c6e2ef16dbc293e1027bcd22d881" +files=( + "https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.gz nasm-${version}.tar.gz d833bf0f5716e89dbcd345b7f545f25fe348c6e2ef16dbc293e1027bcd22d881" +) useconfigure=true use_fresh_config_sub=true config_sub_paths=("autoconf/helpers/config.sub") diff --git a/Ports/ncdu/package.sh b/Ports/ncdu/package.sh index 36b34fb2343..8f972a45194 100755 --- a/Ports/ncdu/package.sh +++ b/Ports/ncdu/package.sh @@ -1,6 +1,8 @@ #!/usr/bin/env -S bash ../.port_include.sh port='ncdu' version='1.18.1' -files="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz ncdu-${version}.tar.gz 7c0fa1eb29d85aaed4ba174164bdbb8f011b5c390d017c57d668fc7231332405" +files=( + "https://dev.yorhel.nl/download/ncdu-${version}.tar.gz ncdu-${version}.tar.gz 7c0fa1eb29d85aaed4ba174164bdbb8f011b5c390d017c57d668fc7231332405" +) useconfigure='true' depends=("ncurses") diff --git a/Ports/ncurses/package.sh b/Ports/ncurses/package.sh index 5b72c265598..940fcd29da8 100755 --- a/Ports/ncurses/package.sh +++ b/Ports/ncurses/package.sh @@ -12,7 +12,9 @@ configopts=( "--without-ada" "--enable-widec" ) -files="https://invisible-mirror.net/archives/ncurses/ncurses-${version}.tar.gz ncurses-${version}.tar.gz 97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059" +files=( + "https://invisible-mirror.net/archives/ncurses/ncurses-${version}.tar.gz ncurses-${version}.tar.gz 97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059" +) check_tic_version() { local tic_path="$1" diff --git a/Ports/neofetch/package.sh b/Ports/neofetch/package.sh index 2c4d6ee8fbd..6306ee306a9 100755 --- a/Ports/neofetch/package.sh +++ b/Ports/neofetch/package.sh @@ -4,7 +4,9 @@ port=neofetch version=7.1.0 useconfigure=false depends=("bash" "jq") -files="https://github.com/dylanaraps/neofetch/archive/${version}.tar.gz neofetch-${version}.tar.gz 58a95e6b714e41efc804eca389a223309169b2def35e57fa934482a6b47c27e7" +files=( + "https://github.com/dylanaraps/neofetch/archive/${version}.tar.gz neofetch-${version}.tar.gz 58a95e6b714e41efc804eca389a223309169b2def35e57fa934482a6b47c27e7" +) install() { run make DESTDIR=${SERENITY_INSTALL_ROOT} PREFIX=/usr/local "${installopts[@]}" install diff --git a/Ports/nesalizer/package.sh b/Ports/nesalizer/package.sh index 579fffaae9b..5838913a877 100755 --- a/Ports/nesalizer/package.sh +++ b/Ports/nesalizer/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=nesalizer version=5bb045845a5cc829a78b7384f848fdd886cd98c8 -files="https://github.com/ulfalizer/nesalizer/archive/${version}.tar.gz ${port}-${version}.tar.gz 4282cb0e4af0585af4a594dfa30b2e350dd0efc39e5bc2d8312f637f50397107" +files=( + "https://github.com/ulfalizer/nesalizer/archive/${version}.tar.gz ${port}-${version}.tar.gz 4282cb0e4af0585af4a594dfa30b2e350dd0efc39e5bc2d8312f637f50397107" +) depends=("SDL2") makeopts+=("CONF=release") diff --git a/Ports/nethack/package.sh b/Ports/nethack/package.sh index dd317266cf4..25b4d839e32 100755 --- a/Ports/nethack/package.sh +++ b/Ports/nethack/package.sh @@ -2,7 +2,9 @@ port='nethack' version='3.6.7' workdir="NetHack-${version}" -files="https://www.nethack.org/download/${version}/nethack-${version//.}-src.tgz nethack-${version//.}-src.tgz 98cf67df6debf9668a61745aa84c09bcab362e5d33f5b944ec5155d44d2aacb2" +files=( + "https://www.nethack.org/download/${version}/nethack-${version//.}-src.tgz nethack-${version//.}-src.tgz 98cf67df6debf9668a61745aa84c09bcab362e5d33f5b944ec5155d44d2aacb2" +) depends=( 'ncurses' 'bash' diff --git a/Ports/ninja/package.sh b/Ports/ninja/package.sh index d09cebdccc1..446f0c70713 100755 --- a/Ports/ninja/package.sh +++ b/Ports/ninja/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='ninja' version='1.11.0' -files="https://github.com/ninja-build/ninja/archive/v${version}.tar.gz ninja-v${version}.tar.gz 3c6ba2e66400fe3f1ae83deb4b235faf3137ec20bd5b08c29bfc368db143e4c6" +files=( + "https://github.com/ninja-build/ninja/archive/v${version}.tar.gz ninja-v${version}.tar.gz 3c6ba2e66400fe3f1ae83deb4b235faf3137ec20bd5b08c29bfc368db143e4c6" +) build() { CXXFLAGS="--sysroot=${SERENITY_INSTALL_ROOT}" \ diff --git a/Ports/nippon/package.sh b/Ports/nippon/package.sh index 61ce482f77e..400187346c3 100755 --- a/Ports/nippon/package.sh +++ b/Ports/nippon/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=nippon version="1.0" -files="https://downloads.scummvm.org/frs/extras/Nippon%20Safes/nippon-1.0.zip ${port}-${version}.zip 53e7e2c60065e4aed193169bbcdcfd1113fa68d3efe1c8240ba073c0e20d613f" +files=( + "https://downloads.scummvm.org/frs/extras/Nippon%20Safes/nippon-1.0.zip ${port}-${version}.zip 53e7e2c60065e4aed193169bbcdcfd1113fa68d3efe1c8240ba073c0e20d613f" +) depends=("scummvm") resource_path="/usr/local/share/games/${port}-${version}" diff --git a/Ports/nlohmann-json/package.sh b/Ports/nlohmann-json/package.sh index cb69d7a3031..615855e5135 100755 --- a/Ports/nlohmann-json/package.sh +++ b/Ports/nlohmann-json/package.sh @@ -2,7 +2,9 @@ port='nlohmann-json' version='3.11.2' workdir="json-${version}" -files="https://github.com/nlohmann/json/archive/refs/tags/v${version}.tar.gz json-${version}.tar.gz d69f9deb6a75e2580465c6c4c5111b89c4dc2fa94e3a85fcd2ffcd9a143d9273" +files=( + "https://github.com/nlohmann/json/archive/refs/tags/v${version}.tar.gz json-${version}.tar.gz d69f9deb6a75e2580465c6c4c5111b89c4dc2fa94e3a85fcd2ffcd9a143d9273" +) useconfigure='true' configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" diff --git a/Ports/npiet/package.sh b/Ports/npiet/package.sh index 6edaabf108e..4a65618fb7c 100755 --- a/Ports/npiet/package.sh +++ b/Ports/npiet/package.sh @@ -4,4 +4,6 @@ useconfigure=true version=1.3f depends=("libgd" "libpng") configopts=() -files="https://www.bertnase.de/npiet/npiet-${version}.tar.gz npiet-${version}.tar.gz 2ded856062abd73599e85e1e768ce6bc60ba2db22dc7d6a9b62763dca04b855a" +files=( + "https://www.bertnase.de/npiet/npiet-${version}.tar.gz npiet-${version}.tar.gz 2ded856062abd73599e85e1e768ce6bc60ba2db22dc7d6a9b62763dca04b855a" +) diff --git a/Ports/npth/package.sh b/Ports/npth/package.sh index d003a17fefb..5c3e4c30f32 100755 --- a/Ports/npth/package.sh +++ b/Ports/npth/package.sh @@ -4,7 +4,9 @@ version=1.6 useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") -files="https://gnupg.org/ftp/gcrypt/npth/npth-${version}.tar.bz2 npth-${version}.tar.bz2 1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1" +files=( + "https://gnupg.org/ftp/gcrypt/npth/npth-${version}.tar.bz2 npth-${version}.tar.bz2 1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1" +) configure() { run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" "${configopts[@]}" diff --git a/Ports/ntbtls/package.sh b/Ports/ntbtls/package.sh index 47c51cdea5f..6bcf1ee5946 100755 --- a/Ports/ntbtls/package.sh +++ b/Ports/ntbtls/package.sh @@ -5,7 +5,9 @@ useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") depends=("libgpg-error" "libksba" "libgcrypt" "zlib") -files="https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2 ntbtls-${version}.tar.bz2 649fe74a311d13e43b16b26ebaa91665ddb632925b73902592eac3ed30519e17" +files=( + "https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2 ntbtls-${version}.tar.bz2 649fe74a311d13e43b16b26ebaa91665ddb632925b73902592eac3ed30519e17" +) configopts=( "--with-libgcrypt-prefix=${SERENITY_INSTALL_ROOT}/usr/local" "--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local" diff --git a/Ports/nyancat/package.sh b/Ports/nyancat/package.sh index 7356a6e5225..8fc4722276d 100755 --- a/Ports/nyancat/package.sh +++ b/Ports/nyancat/package.sh @@ -2,7 +2,9 @@ port=nyancat version=git workdir=nyancat-master -files="https://github.com/klange/nyancat/archive/master.tar.gz nyancat-git.tar.gz cfd6c817f25adcecc9490321991ecb571bfdfe0d8c249663843d3df4194f935d" +files=( + "https://github.com/klange/nyancat/archive/master.tar.gz nyancat-git.tar.gz cfd6c817f25adcecc9490321991ecb571bfdfe0d8c249663843d3df4194f935d" +) launcher_name=Nyancat launcher_category=Games launcher_command=nyancat diff --git a/Ports/oksh/package.sh b/Ports/oksh/package.sh index de08c524168..3916c4ccc72 100755 --- a/Ports/oksh/package.sh +++ b/Ports/oksh/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='oksh' version='7.1' -files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz 9dc0b0578d9d64d10c834f9757ca11f526b562bc5454da64b2cb270122f52064" +files=( + "https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz 9dc0b0578d9d64d10c834f9757ca11f526b562bc5454da64b2cb270122f52064" +) useconfigure='true' depends=("ncurses") diff --git a/Ports/openrct2/package.sh b/Ports/openrct2/package.sh index edd1620b308..793ab1a225e 100755 --- a/Ports/openrct2/package.sh +++ b/Ports/openrct2/package.sh @@ -17,8 +17,10 @@ depends=( 'speexdsp' 'zlib' ) -files="https://github.com/OpenRCT2/OpenRCT2/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz 18970bfffe49c77fa81ea6c295119b173a613c7310d7762963458e3e77c24913 -https://github.com/OpenRCT2/OpenRCT2/releases/download/v${version}/OpenRCT2-${version}-linux-jammy-x86_64.tar.gz OpenRCT2-${version}-linux-jammy-x86_64.tar.gz e4263121ec51a1340d269e07b366f7ec306013e292babfea9fd768c03e19b5b7" +files=( + "https://github.com/OpenRCT2/OpenRCT2/archive/refs/tags/v${version}.tar.gz ${port}-${version}.tar.gz 18970bfffe49c77fa81ea6c295119b173a613c7310d7762963458e3e77c24913" + "https://github.com/OpenRCT2/OpenRCT2/releases/download/v${version}/OpenRCT2-${version}-linux-jammy-x86_64.tar.gz OpenRCT2-${version}-linux-jammy-x86_64.tar.gz e4263121ec51a1340d269e07b366f7ec306013e292babfea9fd768c03e19b5b7" +) useconfigure='true' workdir="OpenRCT2-${version}" configopts=( diff --git a/Ports/openssh/package.sh b/Ports/openssh/package.sh index 58a4615c318..91279a07823 100755 --- a/Ports/openssh/package.sh +++ b/Ports/openssh/package.sh @@ -2,7 +2,9 @@ port=openssh workdir=openssh-portable-94eb6858efecc1b4f02d8a6bd35e149f55c814c8 version=9.0-94eb685 -files="https://github.com/openssh/openssh-portable/archive/94eb6858efecc1b4f02d8a6bd35e149f55c814c8.tar.gz openssh-9.0-94eb685.tar.gz 8a6bfb4c21d32f4e82d6d7734cd68585337cdd57428a2799295e1b1e72c332b5" +files=( + "https://github.com/openssh/openssh-portable/archive/94eb6858efecc1b4f02d8a6bd35e149f55c814c8.tar.gz openssh-9.0-94eb685.tar.gz 8a6bfb4c21d32f4e82d6d7734cd68585337cdd57428a2799295e1b1e72c332b5" +) depends=("zlib" "openssl") useconfigure=true use_fresh_config_sub=true diff --git a/Ports/openssl/package.sh b/Ports/openssl/package.sh index 06def723e85..ea4e8e38cae 100755 --- a/Ports/openssl/package.sh +++ b/Ports/openssl/package.sh @@ -3,8 +3,9 @@ port='openssl' version='3.0.9' useconfigure='true' configscript='Configure' -files="https://www.openssl.org/source/openssl-${version}.tar.gz openssl-${version}.tar.gz eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90" - +files=( + "https://www.openssl.org/source/openssl-${version}.tar.gz openssl-${version}.tar.gz eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90" +) depends=( 'zlib' ) diff --git a/Ports/openttd-opengfx/package.sh b/Ports/openttd-opengfx/package.sh index 46385a5426b..0cd37549339 100755 --- a/Ports/openttd-opengfx/package.sh +++ b/Ports/openttd-opengfx/package.sh @@ -2,7 +2,9 @@ port=openttd-opengfx version=7.1 workdir=. -files="https://cdn.openttd.org/opengfx-releases/${version}/opengfx-${version}-all.zip opengfx-${version}-all.zip 928fcf34efd0719a3560cbab6821d71ce686b6315e8825360fba87a7a94d7846" +files=( + "https://cdn.openttd.org/opengfx-releases/${version}/opengfx-${version}-all.zip opengfx-${version}-all.zip 928fcf34efd0719a3560cbab6821d71ce686b6315e8825360fba87a7a94d7846" +) build() { # The ZIP file we downloaded contains a tarball. diff --git a/Ports/openttd-opensfx/package.sh b/Ports/openttd-opensfx/package.sh index 8b0f9f08e5a..71dbf8a433a 100755 --- a/Ports/openttd-opensfx/package.sh +++ b/Ports/openttd-opensfx/package.sh @@ -2,7 +2,9 @@ port=openttd-opensfx version=1.0.3 workdir=. -files="https://cdn.openttd.org/opensfx-releases/${version}/opensfx-${version}-all.zip opensfx-${version}-all.zip e0a218b7dd9438e701503b0f84c25a97c1c11b7c2f025323fb19d6db16ef3759" +files=( + "https://cdn.openttd.org/opensfx-releases/${version}/opensfx-${version}-all.zip opensfx-${version}-all.zip e0a218b7dd9438e701503b0f84c25a97c1c11b7c2f025323fb19d6db16ef3759" +) build() { # The ZIP file we downloaded contains a tarball. diff --git a/Ports/openttd/package.sh b/Ports/openttd/package.sh index 76bc6640e19..2fdc1bbef68 100755 --- a/Ports/openttd/package.sh +++ b/Ports/openttd/package.sh @@ -2,7 +2,9 @@ port=openttd version=12.2 depends=("freetype" "SDL2" "libicu" "libpng" "zlib" "xz" "openttd-opengfx" "openttd-opensfx") -files="https://cdn.openttd.org/openttd-releases/${version}/openttd-${version}-source.tar.xz openttd-${version}.tar.xz 81508f0de93a0c264b216ef56a05f8381fff7bffa6d010121a21490b4dace95c" +files=( + "https://cdn.openttd.org/openttd-releases/${version}/openttd-${version}-source.tar.xz openttd-${version}.tar.xz 81508f0de93a0c264b216ef56a05f8381fff7bffa6d010121a21490b4dace95c" +) useconfigure=true configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") launcher_name=OpenTTD diff --git a/Ports/opentyrian/package.sh b/Ports/opentyrian/package.sh index ca53db92088..658fc9a61a5 100755 --- a/Ports/opentyrian/package.sh +++ b/Ports/opentyrian/package.sh @@ -2,8 +2,10 @@ port='opentyrian' version='9750f8cfab738d0ea08ccb8d8752b95f5c09df07' useconfigure='true' -files="https://github.com/opentyrian/opentyrian/archive/${version}.tar.gz ${version}.tar.gz f9cd08210df3990c0bc3ac9241694bd6c58e0ddec4716b6e74a7cc655637e5a0 -http://camanis.net/tyrian/tyrian21.zip tyrian21.zip 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277" +files=( + "https://github.com/opentyrian/opentyrian/archive/${version}.tar.gz ${version}.tar.gz f9cd08210df3990c0bc3ac9241694bd6c58e0ddec4716b6e74a7cc655637e5a0" + "http://camanis.net/tyrian/tyrian21.zip tyrian21.zip 7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277" +) configopts=( '-DCMAKE_BUILD_TYPE=release' "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" diff --git a/Ports/opfor/package.sh b/Ports/opfor/package.sh index ecc604aaa35..ea3f76f82e0 100755 --- a/Ports/opfor/package.sh +++ b/Ports/opfor/package.sh @@ -5,7 +5,9 @@ _hlsdk_commit='e785ec1582eece8bf8f603249c2a567f6ec3d5eb' useconfigure='true' depends=("xash3d-fwgs") workdir="hlsdk-portable-${_hlsdk_commit}" -files="https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz hlsdk-portable-${_hlsdk_commit}.tar.gz 0cf2cb120c3e350d05233cc718126436e68f4f2f1289c1f31623a4c8aef419eb" +files=( + "https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz hlsdk-portable-${_hlsdk_commit}.tar.gz 0cf2cb120c3e350d05233cc718126436e68f4f2f1289c1f31623a4c8aef419eb" +) launcher_name='Half-Life: Opposing Force' launcher_category='Games' launcher_command='sh /home/anon/Games/halflife/opfor.sh' diff --git a/Ports/optipng/package.sh b/Ports/optipng/package.sh index 714bb37dd8e..131a010d96e 100755 --- a/Ports/optipng/package.sh +++ b/Ports/optipng/package.sh @@ -2,7 +2,9 @@ port='optipng' version='0.7.7' -files="http://downloads.sourceforge.net/optipng/optipng-${version}.tar.gz optipng-${version}.tar.gz 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452" +files=( + "http://downloads.sourceforge.net/optipng/optipng-${version}.tar.gz optipng-${version}.tar.gz 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452" +) useconfigure='true' configure() { diff --git a/Ports/opusfile/package.sh b/Ports/opusfile/package.sh index 44ccd68002f..74c00c48a34 100755 --- a/Ports/opusfile/package.sh +++ b/Ports/opusfile/package.sh @@ -3,7 +3,9 @@ port='opusfile' version='0.12' useconfigure='true' use_fresh_config_sub='true' -files="https://downloads.xiph.org/releases/opus/opusfile-${version}.tar.gz opusfile-${version}.tar.gz 118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b" +files=( + "https://downloads.xiph.org/releases/opus/opusfile-${version}.tar.gz opusfile-${version}.tar.gz 118d8601c12dd6a44f52423e68ca9083cc9f2bfe72da7a8c1acb22a80ae3550b" +) depends=( 'libogg' 'libopus' diff --git a/Ports/p7zip/package.sh b/Ports/p7zip/package.sh index 64204ba2f29..b54db65a029 100755 --- a/Ports/p7zip/package.sh +++ b/Ports/p7zip/package.sh @@ -3,7 +3,9 @@ port="p7zip" version="17.04" useconfigure=true -files="https://github.com/jinfeihan57/p7zip/archive/refs/tags/v${version}.tar.gz p7zip-${version}.tar.gz ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef" +files=( + "https://github.com/jinfeihan57/p7zip/archive/refs/tags/v${version}.tar.gz p7zip-${version}.tar.gz ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef" +) configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") workdir=$port-$version/CPP depends=("libiconv") diff --git a/Ports/pacman/package.sh b/Ports/pacman/package.sh index 5ec35c0ae7a..4ebf7d8d94b 100755 --- a/Ports/pacman/package.sh +++ b/Ports/pacman/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='pacman' version='b6241a373cc09f021c2ab29714eca5f9e33463f8' -files="https://codeload.github.com/ebuc99/pacman/zip/${version} pacman.zip d688f75d33c7bf4f217bfcaf0d5ee507fd73bb233d77303927d15b54988f0231" +files=( + "https://codeload.github.com/ebuc99/pacman/zip/${version} pacman.zip d688f75d33c7bf4f217bfcaf0d5ee507fd73bb233d77303927d15b54988f0231" +) useconfigure='true' depends=( 'SDL2' diff --git a/Ports/patch/package.sh b/Ports/patch/package.sh index 7318c9dde88..9d0f5c0fc5a 100755 --- a/Ports/patch/package.sh +++ b/Ports/patch/package.sh @@ -4,4 +4,6 @@ version=2.7.6 useconfigure=true use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") -files="https://ftpmirror.gnu.org/gnu/patch/patch-${version}.tar.gz patch-${version}.tar.gz 8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74bc58a4e" +files=( + "https://ftpmirror.gnu.org/gnu/patch/patch-${version}.tar.gz patch-${version}.tar.gz 8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74bc58a4e" +) diff --git a/Ports/pcre/package.sh b/Ports/pcre/package.sh index 3f125083ae9..b860e4a437d 100755 --- a/Ports/pcre/package.sh +++ b/Ports/pcre/package.sh @@ -3,4 +3,6 @@ port=pcre version=8.45 useconfigure=true use_fresh_config_sub=true -files="https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.gz pcre-${version}.tar.gz 4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09" +files=( + "https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.gz pcre-${version}.tar.gz 4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09" +) diff --git a/Ports/pcre2/package.sh b/Ports/pcre2/package.sh index 96a34459570..7dc2152dcee 100755 --- a/Ports/pcre2/package.sh +++ b/Ports/pcre2/package.sh @@ -1,5 +1,7 @@ #!/usr/bin/env -S bash ../.port_include.sh port='pcre2' version='10.40' -files="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz pcre2-${version}.tar.gz ded42661cab30ada2e72ebff9e725e745b4b16ce831993635136f2ef86177724" +files=( + "https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz pcre2-${version}.tar.gz ded42661cab30ada2e72ebff9e725e745b4b16ce831993635136f2ef86177724" +) useconfigure='true' diff --git a/Ports/perl5/package.sh b/Ports/perl5/package.sh index 5b96dbede99..2cbdb07bdad 100755 --- a/Ports/perl5/package.sh +++ b/Ports/perl5/package.sh @@ -2,8 +2,10 @@ port='perl5' version='5.38.0' useconfigure='true' -files="https://www.cpan.org/src/5.0/perl-${version}.tar.xz perl5-${version}.tar.xz eca551caec3bc549a4e590c0015003790bdd1a604ffe19cc78ee631d51f7072e -https://github.com/arsv/perl-cross/releases/download/1.5/perl-cross-1.5.tar.gz perl-cross.1.5.tar.gz d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211" +files=( + "https://www.cpan.org/src/5.0/perl-${version}.tar.xz perl5-${version}.tar.xz eca551caec3bc549a4e590c0015003790bdd1a604ffe19cc78ee631d51f7072e" + "https://github.com/arsv/perl-cross/releases/download/1.5/perl-cross-1.5.tar.gz perl-cross.1.5.tar.gz d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211" +) configopts=( '-Dosname=serenity' "--target=${SERENITY_ARCH}-pc-serenity" diff --git a/Ports/pfetch/package.sh b/Ports/pfetch/package.sh index 288ac2fa884..ba78c09934d 100755 --- a/Ports/pfetch/package.sh +++ b/Ports/pfetch/package.sh @@ -2,4 +2,6 @@ port=pfetch version=a906ff89680c78cec9785f3ff49ca8b272a0f96b depends=("bash") -files="https://github.com/dylanaraps/pfetch/archive/${version}.zip pfetch.zip 33ed7a0cf1826ded7cf8368972274cd261d236bfa1ad9fb378d3cb0a45376f4a" +files=( + "https://github.com/dylanaraps/pfetch/archive/${version}.zip pfetch.zip 33ed7a0cf1826ded7cf8368972274cd261d236bfa1ad9fb378d3cb0a45376f4a" +) diff --git a/Ports/php/package.sh b/Ports/php/package.sh index ff2a267429e..f4a9714c16f 100755 --- a/Ports/php/package.sh +++ b/Ports/php/package.sh @@ -2,7 +2,9 @@ port='php' useconfigure='true' version='8.1.12' -files="https://www.php.net/distributions/php-${version}.tar.xz php-${version}.tar.xz 08243359e2204d842082269eedc15f08d2eca726d0e65b93fb11f4bfc51bbbab" +files=( + "https://www.php.net/distributions/php-${version}.tar.xz php-${version}.tar.xz 08243359e2204d842082269eedc15f08d2eca726d0e65b93fb11f4bfc51bbbab" +) depends=( 'libiconv' 'libxml2' diff --git a/Ports/pixman/package.sh b/Ports/pixman/package.sh index a6b6c518ba4..e1e9d7f7a1b 100755 --- a/Ports/pixman/package.sh +++ b/Ports/pixman/package.sh @@ -2,5 +2,7 @@ port='pixman' version='0.40.0' useconfigure='true' -files="https://www.cairographics.org/releases/pixman-${version}.tar.gz pixman-${version}.tar.gz 6d200dec3740d9ec4ec8d1180e25779c00bc749f94278c8b9021f5534db223fc" +files=( + "https://www.cairographics.org/releases/pixman-${version}.tar.gz pixman-${version}.tar.gz 6d200dec3740d9ec4ec8d1180e25779c00bc749f94278c8b9021f5534db223fc" +) use_fresh_config_sub='true' diff --git a/Ports/pkgconf/package.sh b/Ports/pkgconf/package.sh index 934be91ff21..154de1c64d9 100755 --- a/Ports/pkgconf/package.sh +++ b/Ports/pkgconf/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=pkgconf version=1.8.0 -files="https://distfiles.ariadne.space/pkgconf/pkgconf-${version}.tar.xz pkgconf-${version}.tar.xz ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf" +files=( + "https://distfiles.ariadne.space/pkgconf/pkgconf-${version}.tar.xz pkgconf-${version}.tar.xz ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf" +) useconfigure=true use_fresh_config_sub=true # FIXME: This looks suspiciously host-y... diff --git a/Ports/poppler/package.sh b/Ports/poppler/package.sh index 96a5a654d7e..cbf10e3d0ab 100755 --- a/Ports/poppler/package.sh +++ b/Ports/poppler/package.sh @@ -2,8 +2,10 @@ port='poppler' version='23.07.0' version_data='0.4.12' -files="https://poppler.freedesktop.org/poppler-${version}.tar.xz poppler-${version}.tar.xz f29b4b4bf47572611176454c8f21506d71d27eca5011a39aa44038b30b957db0 -https://poppler.freedesktop.org/poppler-data-${version_data}.tar.gz poppler-data-${version_data}.tar.gz c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74" +files=( + "https://poppler.freedesktop.org/poppler-${version}.tar.xz poppler-${version}.tar.xz f29b4b4bf47572611176454c8f21506d71d27eca5011a39aa44038b30b957db0" + "https://poppler.freedesktop.org/poppler-data-${version_data}.tar.gz poppler-data-${version_data}.tar.gz c835b640a40ce357e1b83666aabd95edffa24ddddd49b8daff63adb851cdab74" +) depends=( 'fontconfig' 'freetype' diff --git a/Ports/potrace/package.sh b/Ports/potrace/package.sh index df4eb01f14f..39f6581df2e 100755 --- a/Ports/potrace/package.sh +++ b/Ports/potrace/package.sh @@ -4,7 +4,9 @@ version='1.16' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('config.sub') -files="https://potrace.sourceforge.net/download/${version}/potrace-${version}.tar.gz potrace-${version}.tar.gz be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc" +files=( + "https://potrace.sourceforge.net/download/${version}/potrace-${version}.tar.gz potrace-${version}.tar.gz be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc" +) configopts=( "--with-libpotrace" ) diff --git a/Ports/powdertoy/package.sh b/Ports/powdertoy/package.sh index b3811ce46be..b2a8d496d52 100755 --- a/Ports/powdertoy/package.sh +++ b/Ports/powdertoy/package.sh @@ -4,7 +4,9 @@ version=96.2.350 useconfigure=true configopts=("-Dbuildtype=release" "build-release" "--cross-file" "${SERENITY_BUILD_DIR}/meson-cross-file.txt") depends=("luajit" "curl" "libfftw3f" "zlib" "SDL2") -files="https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v${version}.tar.gz The-Powder-Toy-${version}.tar.gz d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58" +files=( + "https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v${version}.tar.gz The-Powder-Toy-${version}.tar.gz d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58" +) workdir="The-Powder-Toy-${version}" launcher_name="The Powder Toy" icon_file="resources/icon.ico" diff --git a/Ports/prboom-plus/package.sh b/Ports/prboom-plus/package.sh index 9dc05fc8728..ce572c61d77 100755 --- a/Ports/prboom-plus/package.sh +++ b/Ports/prboom-plus/package.sh @@ -3,8 +3,10 @@ port='prboom-plus' version='2.6.2' useconfigure='true' squashed_version=$(echo "${version}" | tr -d '.') -files="https://github.com/coelckers/prboom-plus/archive/refs/tags/v${version}.tar.gz prboom-plus-v4${version}.tar.gz 5cfeec96fbfe4fc3bd5dbc2b8d581ff5f6617dd74b2799680ba5b1e2e38c4aff -https://github.com/coelckers/prboom-plus/releases/download/v${version}/prboom-plus-${squashed_version}-w32.zip prboom-plus-w32.zip 20313e00d8841a618e23e7c671d65870194bee634468fecd2f3697ac05f21476" +files=( + "https://github.com/coelckers/prboom-plus/archive/refs/tags/v${version}.tar.gz prboom-plus-v4${version}.tar.gz 5cfeec96fbfe4fc3bd5dbc2b8d581ff5f6617dd74b2799680ba5b1e2e38c4aff" + "https://github.com/coelckers/prboom-plus/releases/download/v${version}/prboom-plus-${squashed_version}-w32.zip prboom-plus-w32.zip 20313e00d8841a618e23e7c671d65870194bee634468fecd2f3697ac05f21476" +) workdir="prboom-plus-${version}/prboom2" depends=("glu" "libmad" "libvorbis" "SDL2" "SDL2_image" "SDL2_mixer" "SDL2_net") configopts=( diff --git a/Ports/printf/package.sh b/Ports/printf/package.sh index 6d263c66bba..7aaf965e617 100755 --- a/Ports/printf/package.sh +++ b/Ports/printf/package.sh @@ -1,5 +1,7 @@ #!/usr/bin/env -S bash ../.port_include.sh port=printf version=6.6 -files="https://github.com/ibara/libpuffy/releases/download/libpuffy-1.0/printf-${version}.tar.gz printf-${version}.tar.gz 44b68af9795a3cde7dfc73a588fd2b12054dd84d1ab520106713d49935d791a8" +files=( + "https://github.com/ibara/libpuffy/releases/download/libpuffy-1.0/printf-${version}.tar.gz printf-${version}.tar.gz 44b68af9795a3cde7dfc73a588fd2b12054dd84d1ab520106713d49935d791a8" +) depends=("libpuffy") diff --git a/Ports/pt2-clone/package.sh b/Ports/pt2-clone/package.sh index a6605627f72..f631ab3c527 100755 --- a/Ports/pt2-clone/package.sh +++ b/Ports/pt2-clone/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='pt2-clone' version='1.49' -files="https://github.com/8bitbubsy/pt2-clone/archive/v${version}.tar.gz v${version}.tar.gz c2e796b25aba625551c50b2c0743ccc83b007d2eeac2f5eaad870b60f5a1554b" +files=( + "https://github.com/8bitbubsy/pt2-clone/archive/v${version}.tar.gz v${version}.tar.gz c2e796b25aba625551c50b2c0743ccc83b007d2eeac2f5eaad870b60f5a1554b" +) useconfigure='true' configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") depends=("SDL2") diff --git a/Ports/pv/package.sh b/Ports/pv/package.sh index 9d622a80d8a..0b47b6e6264 100755 --- a/Ports/pv/package.sh +++ b/Ports/pv/package.sh @@ -3,7 +3,9 @@ port=pv version=1.6.20 useconfigure=true configopts=("--disable-nls") -files="http://www.ivarch.com/programs/sources/pv-${version}.tar.bz2 pv-${version}.tar.bz2 e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603" +files=( + "http://www.ivarch.com/programs/sources/pv-${version}.tar.bz2 pv-${version}.tar.bz2 e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603" +) export CFLAGS=-Wno-deprecated-declarations diff --git a/Ports/python3/package.sh b/Ports/python3/package.sh index a3a7e4872d6..d13d11036e7 100755 --- a/Ports/python3/package.sh +++ b/Ports/python3/package.sh @@ -9,8 +9,10 @@ version="${PYTHON_VERSION}" workdir="Python-${version}" useconfigure='true' use_fresh_config_sub='true' -files="${PYTHON_ARCHIVE_URL} ${PYTHON_ARCHIVE} ${PYTHON_ARCHIVE_SHA256SUM} -https://raw.githubusercontent.com/python/cpython/942dd9f3f77eef08fabddbd9fb883a866ad6d4cb/PC/pycon.ico launcher.ico 55c1e1fcabc2f254a6d02242912359d29f141d11c4892c20375d58b6dcd89ac0" +files=( + "${PYTHON_ARCHIVE_URL} ${PYTHON_ARCHIVE} ${PYTHON_ARCHIVE_SHA256SUM}" + "https://raw.githubusercontent.com/python/cpython/942dd9f3f77eef08fabddbd9fb883a866ad6d4cb/PC/pycon.ico launcher.ico 55c1e1fcabc2f254a6d02242912359d29f141d11c4892c20375d58b6dcd89ac0" +) launcher_name='Python' launcher_category='Development' launcher_command='/usr/local/bin/python3' diff --git a/Ports/qemu/package.sh b/Ports/qemu/package.sh index cde6e1f75b9..643ec7c2fa8 100755 --- a/Ports/qemu/package.sh +++ b/Ports/qemu/package.sh @@ -23,7 +23,9 @@ depends=( 'pixman' 'SDL2' ) -files="${QEMU_ARCHIVE_URL} ${QEMU_ARCHIVE} ${QEMU_ARCHIVE_SHA256SUM}" +files=( + "${QEMU_ARCHIVE_URL} ${QEMU_ARCHIVE} ${QEMU_ARCHIVE_SHA256SUM}" +) pre_patch() { # Disable tests (those need way more stuff than QEMU itself) by clearing the respective meson file. diff --git a/Ports/qoi/package.sh b/Ports/qoi/package.sh index 1900838fe47..a758c83ec54 100755 --- a/Ports/qoi/package.sh +++ b/Ports/qoi/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='qoi' version='edb8d7b1140be3168cc99ed87edc605c7c1cf31f' -files="https://github.com/phoboslab/qoi/archive/${version}.zip qoi-${version}.zip 3d3df95fb0b59aca2113ce45396f887eaba1be914cd54b56804efc241f93f203" +files=( + "https://github.com/phoboslab/qoi/archive/${version}.zip qoi-${version}.zip 3d3df95fb0b59aca2113ce45396f887eaba1be914cd54b56804efc241f93f203" +) depends=('libpng' 'stb') install() { diff --git a/Ports/qt6-qt5compat/package.sh b/Ports/qt6-qt5compat/package.sh index 69d1b607487..bdc2e492e3b 100755 --- a/Ports/qt6-qt5compat/package.sh +++ b/Ports/qt6-qt5compat/package.sh @@ -3,7 +3,9 @@ port='qt6-qt5compat' version='6.4.0' workdir="qt5compat-everywhere-src-${version}" useconfigure='true' -files="https://download.qt.io/official_releases/qt/$(cut -d. -f1,2 <<< ${version})/${version}/submodules/qt5compat-everywhere-src-${version}.tar.xz qt6-qt5compat-${version}.tar.xz 73475d0837f78246d509199f211a35c71fc36cccf64b3de258ebc6387194a4c0" +files=( + "https://download.qt.io/official_releases/qt/$(cut -d. -f1,2 <<< ${version})/${version}/submodules/qt5compat-everywhere-src-${version}.tar.xz qt6-qt5compat-${version}.tar.xz 73475d0837f78246d509199f211a35c71fc36cccf64b3de258ebc6387194a4c0" +) depends=( 'qt6-qtbase' 'libiconv' diff --git a/Ports/qt6-qtbase/package.sh b/Ports/qt6-qtbase/package.sh index 3f0a8231f69..1791826037a 100755 --- a/Ports/qt6-qtbase/package.sh +++ b/Ports/qt6-qtbase/package.sh @@ -3,7 +3,9 @@ port='qt6-qtbase' version='6.4.0' workdir="qtbase-everywhere-src-${version}" useconfigure='true' -files="https://download.qt.io/official_releases/qt/$(cut -d. -f1,2 <<< ${version})/${version}/submodules/qtbase-everywhere-src-${version}.tar.xz qt6-qtbase-${version}.tar.xz cb6475a0bd8567c49f7ffbb072a05516ee6671171bed55db75b22b94ead9b37d" +files=( + "https://download.qt.io/official_releases/qt/$(cut -d. -f1,2 <<< ${version})/${version}/submodules/qtbase-everywhere-src-${version}.tar.xz qt6-qtbase-${version}.tar.xz cb6475a0bd8567c49f7ffbb072a05516ee6671171bed55db75b22b94ead9b37d" +) configopts=( '-GNinja' "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" diff --git a/Ports/qt6-serenity/package.sh b/Ports/qt6-serenity/package.sh index cbd95c30b5f..913b05dec54 100755 --- a/Ports/qt6-serenity/package.sh +++ b/Ports/qt6-serenity/package.sh @@ -4,7 +4,9 @@ version=git depends=("qt6-qtbase") workdir=QSerenityPlatform-master useconfigure=true -files="https://github.com/SerenityPorts/QSerenityPlatform/archive/master.zip QSerenityPlatform-git.zip" +files=( + "https://github.com/SerenityPorts/QSerenityPlatform/archive/master.zip QSerenityPlatform-git.zip" +) configopts=( "-GNinja" "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" diff --git a/Ports/quake/package.sh b/Ports/quake/package.sh index 55d839dd1de..cb2b26b989f 100755 --- a/Ports/quake/package.sh +++ b/Ports/quake/package.sh @@ -4,7 +4,9 @@ version='0.65' workdir='SerenityQuake-master' useconfigure='false' archive_hash='81172c57839b3ec75bdc18d4ec4ec00a1460da84c596b4b8e5eb65a5a3a8309a' -files="https://github.com/SerenityPorts/SerenityQuake/archive/master.tar.gz quake.tar.gz ${archive_hash}" +files=( + "https://github.com/SerenityPorts/SerenityQuake/archive/master.tar.gz quake.tar.gz ${archive_hash}" +) makeopts+=( 'V=1' 'SYMBOLS_ON=Y' diff --git a/Ports/quake2/package.sh b/Ports/quake2/package.sh index 14b8fdd8dd2..d3a83d4508c 100755 --- a/Ports/quake2/package.sh +++ b/Ports/quake2/package.sh @@ -4,7 +4,9 @@ version='0.1' useconfigure='true' commit_hash='d26d00845e95dc7d781459d0c1a7fd48ea4b6be3' archive_hash='f940d71e0a4e15c040776979c6c99cb3520208744b3c22921f484d70ba82d675' -files="https://github.com/shamazmazum/quake2sdl/archive/${commit_hash}.tar.gz quake2.tar.gz ${archive_hash}" +files=( + "https://github.com/shamazmazum/quake2sdl/archive/${commit_hash}.tar.gz quake2.tar.gz ${archive_hash}" +) workdir="quake2sdl-${commit_hash}" makeopts=() configopts=( diff --git a/Ports/quake3/package.sh b/Ports/quake3/package.sh index f6318e6f46e..249aebeae17 100755 --- a/Ports/quake3/package.sh +++ b/Ports/quake3/package.sh @@ -3,7 +3,9 @@ port=quake3 version=1.34 commit_hash=6d74896557d8c193a9f19bc6845a47e9d0f77db2 archive_hash=1db91cfd05170ed5b37c1ab56cdf7bbe6b3c86fc6baee8b68e8e539fddfd88c1 -files="https://github.com/ioquake/ioq3/archive/$commit_hash.tar.gz ioq3.tar.gz $archive_hash" +files=( + "https://github.com/ioquake/ioq3/archive/$commit_hash.tar.gz ioq3.tar.gz $archive_hash" +) workdir="ioq3-${commit_hash}" depends=("SDL2") launcher_name="Quake III Arena" diff --git a/Ports/r0/package.sh b/Ports/r0/package.sh index 076224bc10a..08b088b8819 100755 --- a/Ports/r0/package.sh +++ b/Ports/r0/package.sh @@ -3,5 +3,7 @@ port=r0 version=0.8 useconfigure=false workdir=$port-$version -files="https://codeload.github.com/radareorg/r0/tar.gz/refs/tags/$version r0-$version.tar.gz a31722838a21cd3391c41bbb2e63f60552544244362b21f6d9a30d6c24c43bbe" +files=( + "https://codeload.github.com/radareorg/r0/tar.gz/refs/tags/$version r0-$version.tar.gz a31722838a21cd3391c41bbb2e63f60552544244362b21f6d9a30d6c24c43bbe" +) depends=() diff --git a/Ports/radare2/package.sh b/Ports/radare2/package.sh index 7dc70662927..4a901214186 100755 --- a/Ports/radare2/package.sh +++ b/Ports/radare2/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='radare2' version='5.7.6' -files="https://github.com/radareorg/radare2/archive/refs/tags/${version}.tar.gz radare2-${version}.tar.gz 1e798504a978929803ac7d6e42530b06c44be7e1abb5842877a88d7a34d9fd8f" +files=( + "https://github.com/radareorg/radare2/archive/refs/tags/${version}.tar.gz radare2-${version}.tar.gz 1e798504a978929803ac7d6e42530b06c44be7e1abb5842877a88d7a34d9fd8f" +) useconfigure='true' configopts=("--disable-debugger" "--disable-threads" "--with-ostype=serenityos" "--host=${SERENITY_ARCH}-serenityos") diff --git a/Ports/readline/package.sh b/Ports/readline/package.sh index b800da13973..0cc981705e2 100755 --- a/Ports/readline/package.sh +++ b/Ports/readline/package.sh @@ -5,7 +5,9 @@ version=8.1.2 useconfigure=true config_sub_paths=("support/config.sub") use_fresh_config_sub=true -files="https://ftpmirror.gnu.org/gnu/readline/readline-${version}.tar.gz readline-${version}.tar.gz 7589a2381a8419e68654a47623ce7dfcb756815c8fee726b98f90bf668af7bc6" +files=( + "https://ftpmirror.gnu.org/gnu/readline/readline-${version}.tar.gz readline-${version}.tar.gz 7589a2381a8419e68654a47623ce7dfcb756815c8fee726b98f90bf668af7bc6" +) configopts=( "--disable-static" "--enable-shared" diff --git a/Ports/rsync/package.sh b/Ports/rsync/package.sh index e0555f50b4a..85a8619bcd5 100755 --- a/Ports/rsync/package.sh +++ b/Ports/rsync/package.sh @@ -3,5 +3,7 @@ port=rsync version=3.1.3 useconfigure="true" use_fresh_config_sub="true" -files="https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz rsync-${version}.tar.gz 55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0" +files=( + "https://download.samba.org/pub/rsync/src/rsync-${version}.tar.gz rsync-${version}.tar.gz 55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0" +) configopts=("--target=${SERENITY_ARCH}-pc-serenity") diff --git a/Ports/ruby/package.sh b/Ports/ruby/package.sh index cc23ce18c47..5f21eedd9a4 100755 --- a/Ports/ruby/package.sh +++ b/Ports/ruby/package.sh @@ -9,8 +9,10 @@ version=${RUBY_VERSION} useconfigure="true" use_fresh_config_sub=true config_sub_paths=("tool/config.sub") -files="${RUBY_ARCHIVE_URL} ${RUBY_ARCHIVE} ${RUBY_ARCHIVE_SHA256SUM} -https://cache.ruby-lang.org/pub/misc/logo/ruby-logo-kit.zip ruby-logo-kit.zip 7f0a980e09874d35d80b958949dc2460e683957de3d2494a1499aea9d9989055" +files=( + "${RUBY_ARCHIVE_URL} ${RUBY_ARCHIVE} ${RUBY_ARCHIVE_SHA256SUM}" + "https://cache.ruby-lang.org/pub/misc/logo/ruby-logo-kit.zip ruby-logo-kit.zip 7f0a980e09874d35d80b958949dc2460e683957de3d2494a1499aea9d9989055" +) launcher_name="Ruby IRB" launcher_category="Development" launcher_command="/usr/local/bin/ruby /usr/local/bin/irb --legacy" diff --git a/Ports/rvvm/package.sh b/Ports/rvvm/package.sh index 88bc6fa8428..0f71ff83625 100755 --- a/Ports/rvvm/package.sh +++ b/Ports/rvvm/package.sh @@ -2,7 +2,9 @@ port='rvvm' version='0.5' archive_hash='3a1dbb91ad04f068078bc6c6c27cc5792eebc111907cb5a14bde158fe6e757c9' -files="https://github.com/LekKit/RVVM/archive/v${version}.tar.gz rvvm.tar.gz ${archive_hash}" +files=( + "https://github.com/LekKit/RVVM/archive/v${version}.tar.gz rvvm.tar.gz ${archive_hash}" +) workdir="RVVM-${version}" depends=('sdl12-compat') diff --git a/Ports/sam/package.sh b/Ports/sam/package.sh index 4fa9075fab3..9ee12fcb5e6 100755 --- a/Ports/sam/package.sh +++ b/Ports/sam/package.sh @@ -2,7 +2,9 @@ port=sam version=c86ea395743b8ea4ad071c2167fd1f7f96648f7b workdir="SAM-${version}" -files="https://github.com/vidarh/SAM/archive/${version}.tar.gz ${version}.tar.gz 1f534245e2c7a096de5f886fd96ea1ad966c4e674c1ed91e0c6a59662e8d6c11" +files=( + "https://github.com/vidarh/SAM/archive/${version}.tar.gz ${version}.tar.gz 1f534245e2c7a096de5f886fd96ea1ad966c4e674c1ed91e0c6a59662e8d6c11" +) depends=("SDL2") build() { diff --git a/Ports/scummvm/package.sh b/Ports/scummvm/package.sh index 05d0bbd925c..7e7d2e82993 100755 --- a/Ports/scummvm/package.sh +++ b/Ports/scummvm/package.sh @@ -2,7 +2,9 @@ port=scummvm useconfigure="true" version="2.7.0" -files="https://downloads.scummvm.org/frs/scummvm/${version}/scummvm-${version}.tar.xz scummvm-${version}.tar.xz 444b1ffd61774fe867824e57bb3033c9998ffa8a4ed3a13246b01611d5cf9993" +files=( + "https://downloads.scummvm.org/frs/scummvm/${version}/scummvm-${version}.tar.xz scummvm-${version}.tar.xz 444b1ffd61774fe867824e57bb3033c9998ffa8a4ed3a13246b01611d5cf9993" +) depends=("freetype" "libiconv" "libjpeg" "libmad" "libmpeg2" "libpng" "libtheora" "SDL2") configopts=( "--enable-engine=monkey4" diff --git a/Ports/sdl12-compat/package.sh b/Ports/sdl12-compat/package.sh index 3ea64a01412..5162f245242 100755 --- a/Ports/sdl12-compat/package.sh +++ b/Ports/sdl12-compat/package.sh @@ -3,7 +3,9 @@ port='sdl12-compat' version='1.2.56' workdir=sdl12-compat-release-${version} useconfigure='true' -files="https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${version}.tar.gz ${port}-${version}.tar.gz f62f3e15f95aade366ee6c03f291e8825c4689390a6be681535259a877259c58" +files=( + "https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${version}.tar.gz ${port}-${version}.tar.gz f62f3e15f95aade366ee6c03f291e8825c4689390a6be681535259a877259c58" +) configopts=( "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DCMAKE_BUILD_TYPE=Release" diff --git a/Ports/sed/package.sh b/Ports/sed/package.sh index 00388ba96de..da4edca476f 100755 --- a/Ports/sed/package.sh +++ b/Ports/sed/package.sh @@ -4,4 +4,6 @@ version=4.9 useconfigure="true" use_fresh_config_sub="true" config_sub_paths=("build-aux/config.sub") -files="https://ftpmirror.gnu.org/gnu/sed/sed-${version}.tar.gz sed-${version}.tar.gz d1478a18f033a73ac16822901f6533d30b6be561bcbce46ffd7abce93602282e" +files=( + "https://ftpmirror.gnu.org/gnu/sed/sed-${version}.tar.gz sed-${version}.tar.gz d1478a18f033a73ac16822901f6533d30b6be561bcbce46ffd7abce93602282e" +) diff --git a/Ports/serenity-theming/package.sh b/Ports/serenity-theming/package.sh index cd3b7056eb7..fc625268890 100755 --- a/Ports/serenity-theming/package.sh +++ b/Ports/serenity-theming/package.sh @@ -2,7 +2,9 @@ port=serenity-theming version=103b0add39f9e167e8f6c6d4715d9ffbf87d6d07 workdir="theming-${version}" -files="https://github.com/SerenityOS/theming/archive/${version}.zip serenity-theming-${version}.zip 1c3a99d961b1013dbc8b499daa3ee872c5cba29f0efb7f6f885f7f292b3dbeda" +files=( + "https://github.com/SerenityOS/theming/archive/${version}.zip serenity-theming-${version}.zip 1c3a99d961b1013dbc8b499daa3ee872c5cba29f0efb7f6f885f7f292b3dbeda" +) build() { : diff --git a/Ports/serious-sam-classic/package.sh b/Ports/serious-sam-classic/package.sh index b76319f3ac3..b29f7e6e322 100755 --- a/Ports/serious-sam-classic/package.sh +++ b/Ports/serious-sam-classic/package.sh @@ -2,7 +2,9 @@ port='serious-sam-classic' useconfigure='false' version='1.10.4' -files="https://github.com/tx00100xt/SeriousSamClassic/archive/refs/tags/v${version}.tar.gz ${port}.tar.gz c42e1434e03f713ffc60aa627f0a24c64287598bc5ee7cdbd2cbe91aa363ef51" +files=( + "https://github.com/tx00100xt/SeriousSamClassic/archive/refs/tags/v${version}.tar.gz ${port}.tar.gz c42e1434e03f713ffc60aa627f0a24c64287598bc5ee7cdbd2cbe91aa363ef51" +) depends=( 'libvorbis' 'SDL2' diff --git a/Ports/sfinx/package.sh b/Ports/sfinx/package.sh index b700deafd3c..215620e6725 100755 --- a/Ports/sfinx/package.sh +++ b/Ports/sfinx/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=sfinx version="1.1" -files="https://downloads.scummvm.org/frs/extras/Sfinx/sfinx-en-v1.1.zip ${port}-en-v${version}.zip f516b30a046526f78cbc923d8f907d267ab964ccd9b770afc72350e8d467ec4d" +files=( + "https://downloads.scummvm.org/frs/extras/Sfinx/sfinx-en-v1.1.zip ${port}-en-v${version}.zip f516b30a046526f78cbc923d8f907d267ab964ccd9b770afc72350e8d467ec4d" +) depends=("scummvm") workdir="${port}-en-v${version}" diff --git a/Ports/sl/package.sh b/Ports/sl/package.sh index 1cb41be2d70..b2d9e6b7316 100755 --- a/Ports/sl/package.sh +++ b/Ports/sl/package.sh @@ -2,7 +2,9 @@ port=sl version=git workdir=sl-master -files="https://github.com/mtoyoda/sl/archive/master.tar.gz sl-git.tar.gz 3270434e28c4f4e15b8e98de60ea98508a7486485f52356a61f36ac5430fbc80" +files=( + "https://github.com/mtoyoda/sl/archive/master.tar.gz sl-git.tar.gz 3270434e28c4f4e15b8e98de60ea98508a7486485f52356a61f36ac5430fbc80" +) depends=("ncurses") build() { diff --git a/Ports/soltys/package.sh b/Ports/soltys/package.sh index ec5070b3bb1..d06811b4d90 100755 --- a/Ports/soltys/package.sh +++ b/Ports/soltys/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=soltys version="1.0" -files="https://downloads.scummvm.org/frs/extras/Soltys/soltys-en-v1.0.zip ${port}-en-v${version}.zip 87b89e654b8a5b8ebe342cb4c5c6049ab9a43a5efb474d9c49bafb77dcce48f6" +files=( + "https://downloads.scummvm.org/frs/extras/Soltys/soltys-en-v1.0.zip ${port}-en-v${version}.zip 87b89e654b8a5b8ebe342cb4c5c6049ab9a43a5efb474d9c49bafb77dcce48f6" +) depends=("scummvm") resource_path="/usr/local/share/games/${port}-${version}" diff --git a/Ports/sparsehash/package.sh b/Ports/sparsehash/package.sh index 08b8ddf2540..1984d5aab55 100755 --- a/Ports/sparsehash/package.sh +++ b/Ports/sparsehash/package.sh @@ -2,5 +2,7 @@ port=sparsehash version=2.0.4 useconfigure=true -files="https://github.com/sparsehash/sparsehash/archive/refs/tags/$port-$version.tar.gz $port-$version.tar.gz 8cd1a95827dfd8270927894eb77f62b4087735cbede953884647f16c521c7e58" +files=( + "https://github.com/sparsehash/sparsehash/archive/refs/tags/$port-$version.tar.gz $port-$version.tar.gz 8cd1a95827dfd8270927894eb77f62b4087735cbede953884647f16c521c7e58" +) workdir=$port-$port-$version diff --git a/Ports/speexdsp/package.sh b/Ports/speexdsp/package.sh index e29d6cb970d..7cc412ae716 100755 --- a/Ports/speexdsp/package.sh +++ b/Ports/speexdsp/package.sh @@ -2,4 +2,6 @@ port='speexdsp' version='1.2.1' useconfigure='true' -files="https://downloads.xiph.org/releases/speex/speexdsp-${version}.tar.gz speexdsp-${version}.tar.gz 8c777343e4a6399569c72abc38a95b24db56882c83dbdb6c6424a5f4aeb54d3d" +files=( + "https://downloads.xiph.org/releases/speex/speexdsp-${version}.tar.gz speexdsp-${version}.tar.gz 8c777343e4a6399569c72abc38a95b24db56882c83dbdb6c6424a5f4aeb54d3d" +) diff --git a/Ports/sqlite/package.sh b/Ports/sqlite/package.sh index 58b9741db00..976017c43fd 100755 --- a/Ports/sqlite/package.sh +++ b/Ports/sqlite/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='sqlite' version='3410200' -files="https://www.sqlite.org/2023/sqlite-autoconf-${version}.tar.gz sqlite-autoconf-${version}.tar.gz e98c100dd1da4e30fa460761dab7c0b91a50b785e167f8c57acc46514fae9499" +files=( + "https://www.sqlite.org/2023/sqlite-autoconf-${version}.tar.gz sqlite-autoconf-${version}.tar.gz e98c100dd1da4e30fa460761dab7c0b91a50b785e167f8c57acc46514fae9499" +) useconfigure='true' use_fresh_config_sub='true' workdir="sqlite-autoconf-${version}" diff --git a/Ports/ssmtp/package.sh b/Ports/ssmtp/package.sh index 0c330a3c642..41092c5e6eb 100755 --- a/Ports/ssmtp/package.sh +++ b/Ports/ssmtp/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='ssmtp' version='2.64-11' -files="https://salsa.debian.org/debian/ssmtp/-/archive/debian/${version}/ssmtp-debian-${version}.tar.gz ssmtp-debian-${version}.tar.gz 82abe0fb54e2ee209e9f8745498ce5f4e35f2f2b1bf95bd5e6dfbcfc61a8ebe2" +files=( + "https://salsa.debian.org/debian/ssmtp/-/archive/debian/${version}/ssmtp-debian-${version}.tar.gz ssmtp-debian-${version}.tar.gz 82abe0fb54e2ee209e9f8745498ce5f4e35f2f2b1bf95bd5e6dfbcfc61a8ebe2" +) useconfigure='true' workdir="ssmtp-debian-${version}" configopts=( diff --git a/Ports/stb/package.sh b/Ports/stb/package.sh index 0018a8559eb..06fa7d480b0 100755 --- a/Ports/stb/package.sh +++ b/Ports/stb/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='stb' version='af1a5bc352164740c1cc1354942b1c6b72eacb8a' -files="https://github.com/nothings/stb/archive/${version}.zip stb-${version}.zip e3d0edbecd356506d3d69b87419de2f9d180a98099134c6343177885f6c2cbef" +files=( + "https://github.com/nothings/stb/archive/${version}.zip stb-${version}.zip e3d0edbecd356506d3d69b87419de2f9d180a98099134c6343177885f6c2cbef" +) build() { : diff --git a/Ports/stockfish/package.sh b/Ports/stockfish/package.sh index e5c43a538c5..69599e2867a 100755 --- a/Ports/stockfish/package.sh +++ b/Ports/stockfish/package.sh @@ -2,7 +2,9 @@ port='stockfish' version='16' useconfigure='false' -files="https://github.com/official-stockfish/Stockfish/archive/refs/tags/sf_${version}.tar.gz sf_${version}.tar.gz a1600ebdaf4e324ba3e10cec2e0c9a810dc64c6f0db5cc955b2fd5e1eefa1cc6" +files=( + "https://github.com/official-stockfish/Stockfish/archive/refs/tags/sf_${version}.tar.gz sf_${version}.tar.gz a1600ebdaf4e324ba3e10cec2e0c9a810dc64c6f0db5cc955b2fd5e1eefa1cc6" +) workdir="Stockfish-sf_${version}/src/" makeopts+=(ARCH="${SERENITY_ARCH}" SUPPORTED_ARCH=true COMPCXX="${CXX}") diff --git a/Ports/stpuzzles/package.sh b/Ports/stpuzzles/package.sh index 31a652035ec..4a9e13fffe3 100755 --- a/Ports/stpuzzles/package.sh +++ b/Ports/stpuzzles/package.sh @@ -4,7 +4,9 @@ useconfigure=true version=git workdir="${port}-main" configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") -files="https://github.com/SerenityPorts/stpuzzles/archive/refs/heads/main.zip ${port}.zip" +files=( + "https://github.com/SerenityPorts/stpuzzles/archive/refs/heads/main.zip ${port}.zip" +) configure() { run cmake "${configopts[@]}" -DCMAKE_CXX_FLAGS="-std=c++2a -O2" diff --git a/Ports/stress-ng/package.sh b/Ports/stress-ng/package.sh index d7d39c5bf69..b534a4d2a50 100755 --- a/Ports/stress-ng/package.sh +++ b/Ports/stress-ng/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=stress-ng version=0.14.03 -files="https://github.com/ColinIanKing/stress-ng/archive/V${version}.tar.gz stress-ng-${version}.tar.gz 95012c62883ab5826e6157557a075df98cce3cbce2a48bb40851bcc968a8441a" +files=( + "https://github.com/ColinIanKing/stress-ng/archive/V${version}.tar.gz stress-ng-${version}.tar.gz 95012c62883ab5826e6157557a075df98cce3cbce2a48bb40851bcc968a8441a" +) depends=("zlib") pre_configure() { diff --git a/Ports/tar/package.sh b/Ports/tar/package.sh index cf68a738ca5..3e6580aea21 100755 --- a/Ports/tar/package.sh +++ b/Ports/tar/package.sh @@ -4,7 +4,9 @@ version='1.34' useconfigure='true' use_fresh_config_sub='true' config_sub_paths=('build-aux/config.sub') -files="https://ftpmirror.gnu.org/gnu/tar/tar-${version}.tar.gz tar-${version}.tar.gz 03d908cf5768cfe6b7ad588c921c6ed21acabfb2b79b788d1330453507647aed" +files=( + "https://ftpmirror.gnu.org/gnu/tar/tar-${version}.tar.gz tar-${version}.tar.gz 03d908cf5768cfe6b7ad588c921c6ed21acabfb2b79b788d1330453507647aed" +) configopts=( "--without-selinux" "--without-posix-acls" diff --git a/Ports/taskwarrior/package.sh b/Ports/taskwarrior/package.sh index 1e769794a6b..f2dea423e25 100755 --- a/Ports/taskwarrior/package.sh +++ b/Ports/taskwarrior/package.sh @@ -2,7 +2,9 @@ port='taskwarrior' version='2.6.2' useconfigure='true' -files="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/task-${version}.tar.gz taskwarrior-${version}.tar.gz b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec" +files=( + "https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${version}/task-${version}.tar.gz taskwarrior-${version}.tar.gz b1d3a7f000cd0fd60640670064e0e001613c9e1cb2242b9b3a9066c78862cfec" +) workdir="task-${version}" configopts=("-DCMAKE_BUILD_TYPE=release" "-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DENABLE_SYNC=OFF" "-DTASK_DOCDIR=share/doc/taskwarrior-2.6.2" "-DTASK_RCDIR=share/taskwarrior/rc") depends=("libuuid") diff --git a/Ports/tcl/package.sh b/Ports/tcl/package.sh index f769d4f9368..4b378e51c48 100755 --- a/Ports/tcl/package.sh +++ b/Ports/tcl/package.sh @@ -3,4 +3,6 @@ port=tcl version=8.6.12 workdir=tcl${version}/unix useconfigure=true -files="https://prdownloads.sourceforge.net/tcl/tcl${version}-src.tar.gz tcl${version}.tar.gz 26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6" +files=( + "https://prdownloads.sourceforge.net/tcl/tcl${version}-src.tar.gz tcl${version}.tar.gz 26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6" +) diff --git a/Ports/termcap/package.sh b/Ports/termcap/package.sh index f632522b462..10a8511b520 100755 --- a/Ports/termcap/package.sh +++ b/Ports/termcap/package.sh @@ -3,4 +3,6 @@ port=termcap version=1.3.1 useconfigure=true configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local") -files="https://ftpmirror.gnu.org/gnu/termcap/termcap-${version}.tar.gz termcap-${version}.tar.gz 91a0e22e5387ca4467b5bcb18edf1c51b930262fd466d5fda396dd9d26719100" +files=( + "https://ftpmirror.gnu.org/gnu/termcap/termcap-${version}.tar.gz termcap-${version}.tar.gz 91a0e22e5387ca4467b5bcb18edf1c51b930262fd466d5fda396dd9d26719100" +) diff --git a/Ports/thesilversearcher/package.sh b/Ports/thesilversearcher/package.sh index 85bdf446081..1c7ab52f487 100755 --- a/Ports/thesilversearcher/package.sh +++ b/Ports/thesilversearcher/package.sh @@ -2,7 +2,9 @@ port=thesilversearcher version=2.2.0 useconfigure="true" -files="https://geoff.greer.fm/ag/releases/the_silver_searcher-${version}.tar.gz the_silver_searcher-${version}.tar.gz d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170" +files=( + "https://geoff.greer.fm/ag/releases/the_silver_searcher-${version}.tar.gz the_silver_searcher-${version}.tar.gz d9621a878542f3733b5c6e71c849b9d1a830ed77cb1a1f6c2ea441d4b0643170" +) workdir="the_silver_searcher-${version}" configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--disable-utf8") depends=("pcre" "xz") diff --git a/Ports/tig/package.sh b/Ports/tig/package.sh index 471b71bb674..730e4e59673 100755 --- a/Ports/tig/package.sh +++ b/Ports/tig/package.sh @@ -2,5 +2,7 @@ port=tig version=2.5.5 useconfigure="true" -files="https://github.com/jonas/tig/releases/download/tig-${version}/tig-${version}.tar.gz tig-${version}.tar.gz 24ba2c8beae889e6002ea7ced0e29851dee57c27fde8480fb9c64d5eb8765313" +files=( + "https://github.com/jonas/tig/releases/download/tig-${version}/tig-${version}.tar.gz tig-${version}.tar.gz 24ba2c8beae889e6002ea7ced0e29851dee57c27fde8480fb9c64d5eb8765313" +) depends=("ncurses" "pcre" "readline" "libiconv") diff --git a/Ports/timidity/package.sh b/Ports/timidity/package.sh index 1d1987d0aac..40cef2eb203 100755 --- a/Ports/timidity/package.sh +++ b/Ports/timidity/package.sh @@ -2,8 +2,10 @@ 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" +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" +) workdir="TiMidity++-${version}" use_fresh_config_sub='true' use_fresh_config_guess='true' diff --git a/Ports/tinycc/package.sh b/Ports/tinycc/package.sh index 6eea86c889b..808e83f321e 100755 --- a/Ports/tinycc/package.sh +++ b/Ports/tinycc/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=tinycc version=dev -files="https://github.com/TinyCC/tinycc/archive/dev.tar.gz tinycc-dev.tar.gz 1e16fd9926e8e2662a35c790b7c56e8e7e8769c6a8a86a59a534c26046d0d83e" +files=( + "https://github.com/TinyCC/tinycc/archive/dev.tar.gz tinycc-dev.tar.gz 1e16fd9926e8e2662a35c790b7c56e8e7e8769c6a8a86a59a534c26046d0d83e" +) useconfigure=true makeopts=("tcc") diff --git a/Ports/tinyscheme/package.sh b/Ports/tinyscheme/package.sh index 8e4ced60c75..8c5f02675af 100755 --- a/Ports/tinyscheme/package.sh +++ b/Ports/tinyscheme/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=tinyscheme version=1.42 -files="https://downloads.sourceforge.net/project/tinyscheme/tinyscheme/tinyscheme-${version}/tinyscheme-${version}.tar.gz tinyscheme-${version}.tar.gz 17b0b1bffd22f3d49d5833e22a120b339039d2cfda0b46d6fc51dd2f01b407ad" +files=( + "https://downloads.sourceforge.net/project/tinyscheme/tinyscheme/tinyscheme-${version}/tinyscheme-${version}.tar.gz tinyscheme-${version}.tar.gz 17b0b1bffd22f3d49d5833e22a120b339039d2cfda0b46d6fc51dd2f01b407ad" +) useconfigure=false build() { diff --git a/Ports/tr/package.sh b/Ports/tr/package.sh index 8f1a0231d9b..c71485930fe 100755 --- a/Ports/tr/package.sh +++ b/Ports/tr/package.sh @@ -1,5 +1,7 @@ #!/usr/bin/env -S bash ../.port_include.sh port=tr version=6.7 -files="https://github.com/ibara/libpuffy/releases/download/libpuffy-1.0/tr-${version}.tar.gz tr-${version}.tar.gz 6390b9f90baf097c7ee660e3d1f107161dd422e3048ce7b7bea65043b916d416" +files=( + "https://github.com/ibara/libpuffy/releases/download/libpuffy-1.0/tr-${version}.tar.gz tr-${version}.tar.gz 6390b9f90baf097c7ee660e3d1f107161dd422e3048ce7b7bea65043b916d416" +) depends=("libpuffy") diff --git a/Ports/tree/package.sh b/Ports/tree/package.sh index b3213ba872c..550b6083799 100755 --- a/Ports/tree/package.sh +++ b/Ports/tree/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='tree' version='2.0.4' -files="https://github.com/Old-Man-Programmer/tree/archive/refs/tags/${version}.tar.gz tree-${version}.tar.gz 3ebeaf77a3b3829bcf665329e9d0f3624079c2c4cb4ef14cf6d7129a1a208b59" +files=( + "https://github.com/Old-Man-Programmer/tree/archive/refs/tags/${version}.tar.gz tree-${version}.tar.gz 3ebeaf77a3b3829bcf665329e9d0f3624079c2c4cb4ef14cf6d7129a1a208b59" +) build() { run make CC="${CC}" all diff --git a/Ports/tuxracer/package.sh b/Ports/tuxracer/package.sh index 2cc3d6a4634..71678fc1b66 100755 --- a/Ports/tuxracer/package.sh +++ b/Ports/tuxracer/package.sh @@ -2,8 +2,10 @@ port=tuxracer useconfigure="true" version="0.61" -files="http://ftp.e.kth.se/pub/mpkg/distfiles/tuxracer/${version}/tuxracer-${version}.tar.gz tuxracer-${version}.tar.gz a311d09080598fe556134d4b9faed7dc0c2ed956ebb10d062e5d4df022f91eff -http://ftp.e.kth.se/pub/mpkg/distfiles/tuxracer/${version}/tuxracer-data-${version}.tar.gz tuxracer-data-${version}.tar.gz 3783d204b7bb1ed16aa5e5a1d5944de10fbee05bc7cebb8f616fce84301f3651" +files=( + "http://ftp.e.kth.se/pub/mpkg/distfiles/tuxracer/${version}/tuxracer-${version}.tar.gz tuxracer-${version}.tar.gz a311d09080598fe556134d4b9faed7dc0c2ed956ebb10d062e5d4df022f91eff" + "http://ftp.e.kth.se/pub/mpkg/distfiles/tuxracer/${version}/tuxracer-data-${version}.tar.gz tuxracer-data-${version}.tar.gz 3783d204b7bb1ed16aa5e5a1d5944de10fbee05bc7cebb8f616fce84301f3651" +) depends=("glu" "SDL_mixer" "sdl12-compat" "tcl") configopts=( "--with-gl-inc=${SERENITY_INSTALL_ROOT}/usr/include/LibGL" diff --git a/Ports/vim/package.sh b/Ports/vim/package.sh index 3e0b5d53b8c..d6140c8d60c 100755 --- a/Ports/vim/package.sh +++ b/Ports/vim/package.sh @@ -3,7 +3,9 @@ port=vim version=8.2.4554 workdir="${port}-${version}" useconfigure="true" -files="https://github.com/vim/vim/archive/refs/tags/v${version}.tar.gz vim-v${version}.tar.gz 206c8fc2535df33b9ea62fa1c9acae66c981a3e3aa4de0f652ef3a25e2b92571" +files=( + "https://github.com/vim/vim/archive/refs/tags/v${version}.tar.gz vim-v${version}.tar.gz 206c8fc2535df33b9ea62fa1c9acae66c981a3e3aa4de0f652ef3a25e2b92571" +) configopts=("--with-tlib=tinfo" "--with-features=normal") depends=("ncurses" "gettext") diff --git a/Ports/vitetris/package.sh b/Ports/vitetris/package.sh index 850803718b1..c4a01ed651a 100755 --- a/Ports/vitetris/package.sh +++ b/Ports/vitetris/package.sh @@ -2,7 +2,9 @@ port=vitetris useconfigure="true" version="0.59.1" -files="https://github.com/vicgeralds/vitetris/archive/refs/tags/v${version}.tar.gz vitetris.tar.gz 699443df03c8d4bf2051838c1015da72039bbbdd0ab0eede891c59c840bdf58d" +files=( + "https://github.com/vicgeralds/vitetris/archive/refs/tags/v${version}.tar.gz vitetris.tar.gz 699443df03c8d4bf2051838c1015da72039bbbdd0ab0eede891c59c840bdf58d" +) configopts=("--without-xlib" "--without-joystick" "--without-network") launcher_name=vitetris launcher_category=Games diff --git a/Ports/vlang/package.sh b/Ports/vlang/package.sh index 9967cec3f81..b6f53dcb311 100755 --- a/Ports/vlang/package.sh +++ b/Ports/vlang/package.sh @@ -2,7 +2,9 @@ port=vlang version=weekly.2021.31 workdir="v-${version}" -files="https://codeload.github.com/vlang/v/tar.gz/refs/tags/${version} v-${version}.tar.gz b0daf0a2e2cb6d463710952f4d2e8705c17d02a9270355b20861ff3fd5f72563" +files=( + "https://codeload.github.com/vlang/v/tar.gz/refs/tags/${version} v-${version}.tar.gz b0daf0a2e2cb6d463710952f4d2e8705c17d02a9270355b20861ff3fd5f72563" +) build() { ( diff --git a/Ports/vttest/package.sh b/Ports/vttest/package.sh index 1ac1c63b325..4ab6b30db86 100755 --- a/Ports/vttest/package.sh +++ b/Ports/vttest/package.sh @@ -2,4 +2,6 @@ port=vttest version=20220215 useconfigure=true -files="https://invisible-mirror.net/archives/vttest/vttest-$version.tgz vttest-$version.tar.gz 4a65998c5e12cf08ced2cfce119adb44fa842ac1495d0f150f21c8a6785915a1" +files=( + "https://invisible-mirror.net/archives/vttest/vttest-$version.tgz vttest-$version.tar.gz 4a65998c5e12cf08ced2cfce119adb44fa842ac1495d0f150f21c8a6785915a1" +) diff --git a/Ports/wayland/package.sh b/Ports/wayland/package.sh index a757a2f3330..fa44292e73e 100755 --- a/Ports/wayland/package.sh +++ b/Ports/wayland/package.sh @@ -14,7 +14,9 @@ depends=( 'expat' 'libxml2' ) -files="https://gitlab.freedesktop.org/wayland/wayland/-/releases/${version}/downloads/wayland-${version}.tar.xz wayland-${version}.tar.xz 6dc64d7fc16837a693a51cfdb2e568db538bfdc9f457d4656285bb9594ef11ac" +files=( + "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${version}/downloads/wayland-${version}.tar.xz wayland-${version}.tar.xz 6dc64d7fc16837a693a51cfdb2e568db538bfdc9f457d4656285bb9594ef11ac" +) configure() { # TODO: Figure out why GCC doesn't autodetect that libgcc_s is needed. diff --git a/Ports/wget/package.sh b/Ports/wget/package.sh index 6e819802cca..cc5397a71a4 100755 --- a/Ports/wget/package.sh +++ b/Ports/wget/package.sh @@ -5,7 +5,9 @@ useconfigure="true" use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") depends=("openssl") -files="https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz wget-${version}.tar.gz 5726bb8bc5ca0f6dc7110f6416e4bb7019e2d2ff5bf93d1ca2ffcc6656f220e5" +files=( + "https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz wget-${version}.tar.gz 5726bb8bc5ca0f6dc7110f6416e4bb7019e2d2ff5bf93d1ca2ffcc6656f220e5" +) configopts=("--with-ssl=openssl" "--disable-ipv6") export OPENSSL_LIBS="-lssl -lcrypto -ldl" diff --git a/Ports/which/package.sh b/Ports/which/package.sh index 3f8ba6ff15a..5d9a05cb095 100755 --- a/Ports/which/package.sh +++ b/Ports/which/package.sh @@ -2,4 +2,6 @@ port='which' version='2.21' useconfigure='true' -files="https://ftpmirror.gnu.org/gnu/which/which-${version}.tar.gz which-${version}.tar.gz f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad" +files=( + "https://ftpmirror.gnu.org/gnu/which/which-${version}.tar.gz which-${version}.tar.gz f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad" +) diff --git a/Ports/wireguard-tools/package.sh b/Ports/wireguard-tools/package.sh index 88e9f8afc9b..5af9dfc3b8b 100755 --- a/Ports/wireguard-tools/package.sh +++ b/Ports/wireguard-tools/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=wireguard-tools version=1.0.20210914 -files="https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${version}.tar.xz wireguard-tools-${version}.tar.xz 97ff31489217bb265b7ae850d3d0f335ab07d2652ba1feec88b734bc96bd05ac" +files=( + "https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-${version}.tar.xz wireguard-tools-${version}.tar.xz 97ff31489217bb265b7ae850d3d0f335ab07d2652ba1feec88b734bc96bd05ac" +) makeopts=("--directory=src") # NOTE: PREFIX extends DESTDIR and therefore must not include $SERENITY_INSTALL_ROOT! installopts=("--directory=src" "PREFIX=/usr/local") diff --git a/Ports/x264/package.sh b/Ports/x264/package.sh index e9c1a70496b..ac07d5b7bf3 100755 --- a/Ports/x264/package.sh +++ b/Ports/x264/package.sh @@ -2,7 +2,9 @@ port='x264' version='baee400fa9ced6f5481a728138fed6e867b0ff7f' -files="https://code.videolan.org/videolan/x264/-/archive/${version}/x264-master.tar.gz libx264-${version}.tar.gz 436a2be54d8bc0cb05dd33ecbbcb7df9c3b57362714fcdaa3a5991189a33319b" +files=( + "https://code.videolan.org/videolan/x264/-/archive/${version}/x264-master.tar.gz libx264-${version}.tar.gz 436a2be54d8bc0cb05dd33ecbbcb7df9c3b57362714fcdaa3a5991189a33319b" +) useconfigure='true' use_fresh_config_sub='true' configopts=("--enable-shared") diff --git a/Ports/x265/package.sh b/Ports/x265/package.sh index cc615f09898..2635ba1b7e9 100755 --- a/Ports/x265/package.sh +++ b/Ports/x265/package.sh @@ -2,7 +2,9 @@ port=x265 version=3.5 workdir="${port}_${version}" -files=("https://bitbucket.org/multicoreware/x265_git/downloads/x265_${version}.tar.gz x265_${version}.tar.gz e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8") +files=( + "https://bitbucket.org/multicoreware/x265_git/downloads/x265_${version}.tar.gz x265_${version}.tar.gz e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8" +) useconfigure=true configopts=( diff --git a/Ports/xash3d-fwgs/package.sh b/Ports/xash3d-fwgs/package.sh index b727e1dba8a..b295a72f4a0 100755 --- a/Ports/xash3d-fwgs/package.sh +++ b/Ports/xash3d-fwgs/package.sh @@ -11,13 +11,15 @@ _extras_commit='9aba4527435b1beda97ca8d8a5f1937cd0088c57' useconfigure='true' depends=("SDL2" "fontconfig" "freetype") workdir="xash3d-fwgs-${_xash3d_commit}" -files="https://github.com/FWGS/xash3d-fwgs/archive/${_xash3d_commit}.tar.gz xash3d-fwgs-${_xash3d_commit}.tar.gz 71bcf9f61d05e6f9ff8866a28cdc9c644ca9aeab9e4143e279d61b1b8ebff9e5 -https://github.com/FWGS/vgui_support/archive/${_vgui_support_commit}.tar.gz vgui_support-${_vgui_support_commit}.tar.gz 2f241fe093b8ab1ff757bdc4ae7a531223525ec3be8f2da3a0eddf76543e90a0 -https://github.com/FWGS/vgui-dev/archive/${_vgui_dev_commit}.tar.gz vgui-dev-${_vgui_dev_commit}.tar.gz eb9315fba8ae444fdae240c10afebaf7f3b157233bf1589f0af557b2286928fa -https://github.com/FWGS/mainui_cpp/archive/${_mainui_commit}.tar.gz mainui_cpp-${_mainui_commit}.tar.gz 05a3ff20055ba53d46ac65fee04a689df52889d3077661dc618f7659a2d2138f -https://github.com/FWGS/MiniUTL/archive/${_miniutl_commit}.tar.gz MiniUTL-${_miniutl_commit}.tar.gz 7b7b26377854b3fc741c8d652d8b3c9c540512644943ca6efb63df941b2861e3 -https://github.com/xiph/opus/archive/${_opus_commit}.tar.gz opus-${_opus_commit}.tar.gz 56156f1f7a19fcd356041604ce9fdd7d70a67a0e91153f25970dcc8710ea057e -https://github.com/FWGS/xash-extras/archive/${_extras_commit}.tar.gz xash-extras-${_extras_commit}.tar.gz 020b4c35f97fabbd70a7444a98451f0f5be4dcbf149e42e5e49598a5651805ab" +files=( + "https://github.com/FWGS/xash3d-fwgs/archive/${_xash3d_commit}.tar.gz xash3d-fwgs-${_xash3d_commit}.tar.gz 71bcf9f61d05e6f9ff8866a28cdc9c644ca9aeab9e4143e279d61b1b8ebff9e5" + "https://github.com/FWGS/vgui_support/archive/${_vgui_support_commit}.tar.gz vgui_support-${_vgui_support_commit}.tar.gz 2f241fe093b8ab1ff757bdc4ae7a531223525ec3be8f2da3a0eddf76543e90a0" + "https://github.com/FWGS/vgui-dev/archive/${_vgui_dev_commit}.tar.gz vgui-dev-${_vgui_dev_commit}.tar.gz eb9315fba8ae444fdae240c10afebaf7f3b157233bf1589f0af557b2286928fa" + "https://github.com/FWGS/mainui_cpp/archive/${_mainui_commit}.tar.gz mainui_cpp-${_mainui_commit}.tar.gz 05a3ff20055ba53d46ac65fee04a689df52889d3077661dc618f7659a2d2138f" + "https://github.com/FWGS/MiniUTL/archive/${_miniutl_commit}.tar.gz MiniUTL-${_miniutl_commit}.tar.gz 7b7b26377854b3fc741c8d652d8b3c9c540512644943ca6efb63df941b2861e3" + "https://github.com/xiph/opus/archive/${_opus_commit}.tar.gz opus-${_opus_commit}.tar.gz 56156f1f7a19fcd356041604ce9fdd7d70a67a0e91153f25970dcc8710ea057e" + "https://github.com/FWGS/xash-extras/archive/${_extras_commit}.tar.gz xash-extras-${_extras_commit}.tar.gz 020b4c35f97fabbd70a7444a98451f0f5be4dcbf149e42e5e49598a5651805ab" +) export PKG_CONFIG_PATH="${SERENITY_INSTALL_ROOT}/usr/local/lib/pkgconfig" diff --git a/Ports/xz/package.sh b/Ports/xz/package.sh index b98890a204e..7dfa86703d5 100755 --- a/Ports/xz/package.sh +++ b/Ports/xz/package.sh @@ -5,5 +5,7 @@ useconfigure=true configopts=("--disable-static" "--enable-shared") use_fresh_config_sub=true config_sub_paths=("build-aux/config.sub") -files="https://tukaani.org/xz/xz-${version}.tar.gz xz-${version}.tar.gz f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10" +files=( + "https://tukaani.org/xz/xz-${version}.tar.gz xz-${version}.tar.gz f6f4910fd033078738bd82bfba4f49219d03b17eb0794eb91efbae419f4aba10" +) depends=("zlib" "libiconv") diff --git a/Ports/yasm/package.sh b/Ports/yasm/package.sh index 2f78fb49558..cc8c98b49b7 100755 --- a/Ports/yasm/package.sh +++ b/Ports/yasm/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=yasm version=1.3.0 -files="https://www.tortall.net/projects/yasm/releases/yasm-${version}.tar.gz yasm-${version}.tar.gz 3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f" +files=( + "https://www.tortall.net/projects/yasm/releases/yasm-${version}.tar.gz yasm-${version}.tar.gz 3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f" +) useconfigure=true use_fresh_config_sub=true config_sub_paths=("config/config.sub") diff --git a/Ports/zig/package.sh b/Ports/zig/package.sh index 1b0900ea77b..9401fdbfd48 100755 --- a/Ports/zig/package.sh +++ b/Ports/zig/package.sh @@ -2,8 +2,10 @@ port='zig' version='0.11.0-dev.4003+c6aa29b6f' -files='https://github.com/ziglang/zig-bootstrap/archive/bf1b2cdb83141ad9336eec42160c9fe87f90198d.tar.gz zig-bootstrap-bf1b2cd.tar.gz 363f97884f4a291c7167468e53cf4570fa03bc7b8973365dbce2019ffc103150 -https://github.com/ziglang/zig/archive/c6aa29b6fdba1606bfd218b17de89f64179c0ed8.tar.gz zig-c6aa29b.tar.gz d63c5087a737c46072f155eacacaa406af67addab39ad8179c44b0fc7d698ac1' +files=( + 'https://github.com/ziglang/zig-bootstrap/archive/bf1b2cdb83141ad9336eec42160c9fe87f90198d.tar.gz zig-bootstrap-bf1b2cd.tar.gz 363f97884f4a291c7167468e53cf4570fa03bc7b8973365dbce2019ffc103150' + 'https://github.com/ziglang/zig/archive/c6aa29b6fdba1606bfd218b17de89f64179c0ed8.tar.gz zig-c6aa29b.tar.gz d63c5087a737c46072f155eacacaa406af67addab39ad8179c44b0fc7d698ac1' +) # The actual directory to build in. workdir='zig-bootstrap-bf1b2cdb83141ad9336eec42160c9fe87f90198d' diff --git a/Ports/zlib/package.sh b/Ports/zlib/package.sh index 62f06e95713..1b787efbe81 100755 --- a/Ports/zlib/package.sh +++ b/Ports/zlib/package.sh @@ -2,7 +2,9 @@ port=zlib version=1.2.13 useconfigure=true -files="https://www.zlib.net/zlib-${version}.tar.gz zlib-${version}.tar.gz b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30" +files=( + "https://www.zlib.net/zlib-${version}.tar.gz zlib-${version}.tar.gz b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30" +) configure() { # No SONAME is set on unknown systems by default. Manually set it diff --git a/Ports/zsh/package.sh b/Ports/zsh/package.sh index 2bf0f281419..25b49a94318 100755 --- a/Ports/zsh/package.sh +++ b/Ports/zsh/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=zsh version=5.9 -files="https://sourceforge.net/projects/zsh/files/zsh/${version}/zsh-${version}.tar.xz zsh-${version}.tar.xz 9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5" +files=( + "https://sourceforge.net/projects/zsh/files/zsh/${version}/zsh-${version}.tar.xz zsh-${version}.tar.xz 9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5" +) useconfigure=true use_fresh_config_sub=true diff --git a/Ports/zstd/package.sh b/Ports/zstd/package.sh index 6ff6ada2f20..6332bc5ea2b 100755 --- a/Ports/zstd/package.sh +++ b/Ports/zstd/package.sh @@ -1,7 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port=zstd version=1.5.2 -files="https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz zstd-${version}.tar.gz 7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0" +files=( + "https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz zstd-${version}.tar.gz 7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0" +) useconfigure='true' configopts=( "-Sbuild/cmake"