diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh index 55d4b584e51b3e177b708e3135e538d761bc54c4..697ed3895b91fb56536949ae22c10aa6df69e72d 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 ab34eb6152f794c73e58f95baa322a7d66c825a7..fc844ccf8dc832224bc977ee11639e76f529e524 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 4370e637d923bfcb45b908c7089cd726bdbfe3b2..4b95f732465b546312bee5b10739719af272130c 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 d8283d8b1ca0abae3356d3c1738beba2d6b4d9cf..2a932d8a46be2340ce20d5092f0469b2c08e4f61 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 f60149abe488d9911538b8d4b6f0e3d342a00406..4ce0f52397cac234aded3919a8a137156afde07f 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 c3fac6bf1069b48f0a67a8a36655fb39a38f9746..043abff08ac2b81e761ba17a8abc5e0bf88576a9 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 102d212b8318494634732c1cc1cb3716ebfb4e38..cfc429ff869a6b8a91fbc9ab972790583172e669 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 270219a075e5ebe489778bb93e1a6f92e86f1fb2..05d9a884d2d183710950b374373c1c138500fc0d 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 5a71973e1339d6ab0b0aa821e78f221ec395f3dd..ee91ce3db598596942188fde8212cfec24c6e839 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 1447b70237d9153aae0916de22a564dbe0c3bf2e..dbc7d072140acc8a65cdd682588e2106a9323107 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 f6636497023ff9489887c152600958c2c1a29356..5f3b43f3dc4ecf8a0a828ea2403f628d145e2fcc 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 02c0a73e06a014178ae61967e1dca5007af8b4b7..09c569df32a908c625602305af32eaed86b020c2 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 69434f46f911ae1d91908930eb87fc7e5bf011be..470b839d9a1056c53311efa45d825ddca22334ad 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 e577bb31a98e96cbb263377d61b07da8bcd5e893..d08508272506615ea85c4d3abdd670fd2c6a736e 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 a93331c23de02ce110c60a75ef017e64d8b4bc3e..54bb930450e6e854bca53d61565f07bfcdcb0dd5 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 74017f6588de6fbf82ed756c413331b1f782345b..291fb1314ab121f97ff3fb2dd5b3d94e5daef3c7 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 6fc075854166112ffdcc87fbdb85c9d13ef98e51..02771af12a56174f2c1601e3def63f6aa5187b9e 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 4146571c1edd8a14a7a6cd0b68fc05affce3976c..1984110c75b1d5965a64f3c6c6044e2b2b816e6e 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 dd64cee5e96b66f3defb46901377046692722e43..ebb59613addb0f49cd8458b5faeb70a16835ef3c 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 f6d594cd01b520685e45ac1f076aca9728224cb2..653380271e9234619876576ad4073e960d8bed9c 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 9e16c48f627601bbd18239df21f514f9d987af0f..1f57e0ddf6ed8d6f7fa44008e2920596476c178a 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 aae1e6df2daa3c77fc3c6ea0f61b1dc6d8dc159f..6fc2abb76592a4ac6d8115a200b3d33f21452ee9 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 cd1d80f2b2917c5774f300dc5f762c481a63e331..73ffe1e06808887c84f533ea4fa4560887f4584c 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 ff117049749fa0916d704485049acc24180f3b7a..7d825d7f9bee19e513e4a63b78a71f90b46b3ff3 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 e1ecd8a93589974cd6d2017b4c3e821aa4e5c95b..26dacee1cf11097dd76fb7d6a642391864fcd888 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 5ddaa3dfdc810b15d823f62fe18f9b4fc645686b..0759eb729854eb22c78046dda493e651f1d404a4 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 f3726bab7571cd9818b053514c275d7bd3c195b1..5a18f2f79d25bdba277dbbe8d0857ef5024b22fe 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 878873ecf1efd091175603a4d7c7e9136f31332e..13d503a2b08aad492858457edf6e6a6f8743be65 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 c577bb75a488dbdcaef5a443b293e2b6d2e821f2..ce02894fb17553cf8eff02832c11238b7000018a 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 dfb6d185bdd709b78d46345598cba2f932d24b68..9c1daa27b7bee41d089b8322c7b206a22cacf6f2 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 ae633ba5d0fbe53ff0ea7e95081336d4dd93e285..d952861c3689637373f103f0bc8b3797658bccf6 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 145fe9d0c826d7d4b1bd520ee0e2e767156392aa..7a487b03675f12335f90c0d7ce8c2210d0bc137d 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 bdd9156bfad038a110e2840f6f5343a88b3e343d..1451f021a181cfece9911f9ccbac7370dee0a3de 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 16b2c9cae6ad9840de590a39a1352a4d8eb0a214..9c994e70aad7ad03445988fe8e3327b42310ecdb 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 a6ca4cb5d95cd1c3000bcf0a52c76a0a077a72df..0589753e539837ae9abc0191fe5ad54f7edfcc54 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 bd707556fb6496d8a2503ee8f602924e12d64d6f..c01d2e833b62e2b0b0aedfbc1b3a107d45252c78 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 9d44db09bcdd6f936ed1f38eb1a194d1d9d8e4d0..9c964b946f6da68087e31402de3043c871aac775 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 8ef32da0f10a74a64988626952bd227bbd9a7605..270f811262900a7e78a2b1f3caec3af57b33019a 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 ebb8d69237774b5e9ea41d5c921b757ea1e33769..2720d75c97f893d5c915f2cb38bad27c1d99e5e1 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 8693aae181f370385dacf3927bbd834aca478e5d..0cced79dd0df7c830d22079dfd7c1fa4ab487692 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 691ecbc5eedd1de247df4896d6b5a4e1e500480e..633cb8975f8c909f29a43385a4d419f7d15f297c 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 89ab8e5727060cf87df75c25e92886e748b9430e..3b7fdde52662f514a1067827e62ebb66ebcf9528 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 5bda71672f83dbd3736531ad35b1412d154c035d..191cb84ef1e9b5dfb198f26b2eff3865f886f5ec 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 14788136a6e888aa5b49f316b8ccb6281e942076..4cb2ca9d6d835a4abb0ac7cc1791086f0b1b3fc7 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 7051790bfb5ddf0117e650930cf9aefb6e489145..a1a79896e4f3bb192fa580b99d83fe8d0813c760 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 2b8056aed17ada714a0c418dd8cd489f929f7e23..cfbbde0eee7de88c5b2c18717dcbf947aabe7cc0 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 2c312a8a1c3949b67a70fc18109a0fea09d416f5..90f8fdf783e8210a4c396e8262296a84383406cf 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 04f46cd833d123229540e8a570620365210e7db7..c0a225fbbcb1703120a7733e967653b22bd7b4eb 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 1055fbcaab92902b09b9d9a1ead582f9bbc0b4ff..218887e1e822bd9627de249e9e749424a2775013 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 a747eca85af709661bf5cc23df46d6ff9c1f36f3..f22b163faa9e286aa5ca301736ac8d8297634405 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 451bf9d52f4f0aca785c326c95ee59eb6fb07537..01252db0cdc8ae16c2d667a2f9f50866d3d84da3 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 c6609c61dd4d2d01c07a4e08b7fdf284d342ee97..d20ad9723ec87b0faaa1db8bd4eb094dd1954f56 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 7001d84b508e5d609c53601c751e678461cb7327..1b5cbbc44f4ed148bf97cca6562f458bfe29d637 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 fea215f6119858a7fb592ad16dfd02e98d159d90..d4a831650f0d51f790b682c458d58cff893c39d8 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 32fe9a430f5b9c5f9765aa2c3393e5d6524f8cb0..53220820861463afa60d6001e861bdf6f1ab0775 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 a4438ebd1aaf62fe332f0e3e4903d7a1740b4faf..29ed2467a36aa344638ed95ff590d2b2ed07aef0 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 bc6f73a7c252eb6821cd3f9786f47ed31c344270..8235767a8340e1200c181dab8e8e60e350b86d41 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 a9380331f3148fef5cd1d2e93aad0b7cba35ab3e..4fbae9d0ba25bb7eadc23594c9bc0393cceaf101 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 29e31fb7065c3bf50e12840dc2e59511fadd59b0..d548498cfe64729c161e522e64a00a466f1f55ee 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 6d0cb27e69547ca0c86a03189370296f22d2b9ba..e894631eb24ea2af8260cfa75eacc71c5fccf6fb 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 199204a7ff560652b014797f7311e002806ec8b8..1e6436e2471fb0f854d5b990fa3517f73bb0c575 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 ae3ee0bb95484b21c83a65676d73ea03ec53d1dd..022b04df7d6f5910ecd3492431f5834618a935bc 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 7b0255fcc1c8287309781349af9fd0d72a7190e7..886cc1bbf464ec1a9dc44d58b5b7712997d9ef6d 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 0bdfb9fa08a950d3d07a1e8473598505d8aac1d8..7a86d7a457b60354583713d3aad5adaf28e48580 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 5eb9ab2b2f0c0aac39ce0237a8343226d8047ffb..83c5cadaf684ff519f0c219d10b91437689ba031 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 0d38aa31486993831cc61b02c16e67afb7bfcb7f..6079ec66b15ce8fc6e694fbdcd7a4d034593437a 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 34263bd04500921b9e198a77c86a0fc6f70ab906..153bcc521a232aa0d0e9bdb2c3826c12afd5672c 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 56d8eb890734d236c71a0ac61c93b0052be4c754..553aa40599e2a7eeb7add5669d7dbdd928572212 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 65cf38ec8370626179568dc5258eae4c491685e1..8bd4a1cc7ad714d69876a7f113edc6646159e6da 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 c058a733196bab3fe904ee76efcbd86d48a54467..d57b8925cd23b258a9bedd9a2b984a78e5c07990 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 1ecc0593d12ef944a306eaa01f43df00ff6e9265..0e5b8c41ae0db1f342abe041f6ef1f3f26b9af99 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 3b22faae9d7ed86af96540f5d6c649e644bb0e12..b2375f58641e6f973a80bb235862517221c178e9 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 a80edf45d0b8449021f7bf572beb228b05b50243..584e1e0d78c44a796b9e11933f2114984c359559 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 0907ff997cc075c5d211ed86ecbf8a44b7da4b60..e11e94b883fbfd30759863615cefbc6c57910726 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 8c763d3df8cd8f3c94edcec3c7d61b350733772c..f4b530ac4765da6afc4f594c459ab35c646441a0 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 a3c636cb07ea52197f501fd1e0c495913ed6bea6..627326b397aae0f503df20d889a9ab9d0ab681e7 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 2603749d02915738bc91bdc318185d6c86952be5..ee3e4100d06adcaf389c65e5f85837d3ba4544d8 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 64c26e72572937e491d9244efbded40fb2a6e53f..47a14eb140541105748e8c0b852fccce17fd5ab7 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 925c8932e3a19f4384555f17e215300737ed55bd..5a84ad0509eb33a7a623abc53e9f6d1de7fa31f2 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 9983e93833721c0c576a17ffe6d55fd907ec62d2..4b13aea1047be729d2872ab64f1945f3f4708b67 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 d762a5c1f92b75b337c539abc9ae177dd394891c..5beb4fbf5fc4e5dec783eb2175e5e7c492d5a412 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 54eb0e64711434f6795e0b9faecebdb14ee4e7d7..4a9f75a9e7951a437fa4e8c3df7ae4775c4ee59c 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 a805a1fb06b4568b3879cc946d3050caaf50d160..cdb781dc903b3c016714a0acfe14d5289f193466 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 7685f7699f4a2701f40740ffcf01c709b0050be6..4067a5e9419024a4e124ea5a81c5c45f8fe3d19d 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 7870cbe972021734524c7c870faf38aaff7d56fd..8fe577d629f7beb37a59bc3a4c9df13d07e21a31 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 c3305a92991740dfa5f9c65ca9a938b352ce3f56..b1db78255efbbe284c373b35d52bbea41f4a4c3d 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 aa3103f9c732fdd2f8fc2e2332a48ddb4decb07c..042902d1c1e42a5a5d1ffc93433c805082384580 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 a374934010cdd26675b886a515a9d9126d895444..e87af3707eff20aa51424ef5f2a673b224a0c292 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 5867b72c509b48a920d28f03b0fd518738f6cc1f..391566591cc74ae8be2682a6982b7b14eeae017c 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 bf00d4353059a3a6128039fdcbfe0652db1a6ec3..a07f65f8eca6bca9117a9cd71cdacb6448b23801 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 fa75df7db12770f9c302dd0da664a41917321289..04d14f3bbcc4f89572f9efb8e99f24eb8093c3f2 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 12054a182fee0424a4fefe63cfb1e8340eb8470b..1c7b1029830035c1d262fd9d6e3d0bfb25e5709a 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 d8b49c54bf9678db14f7cebbf6210a5dd648e340..25b7e3cae6dad04d03dc241bf58a01f318076dc5 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 90b938f9b6bd781a4429e466b03ac062412992a9..9e08f7a750662e06d74b2c274a91631806715d3a 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 8313ec9e034af4e6cf5a4449084dbd4cbacbca9f..0045215f70993849669606700489208d632d7453 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 aec06b8adf1d39b35ff59a3e11f49fc701cad365..93063ae44d96fc11f80433c1ec1c7b2c218e3aa2 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 e7e07f10776f05960ff11acb7054b14cfd614c64..1991e0a52a88d506b584ba967ae61f19dd766739 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 9bc7f7baf13761adb1dbdaa77f5cf1f4a421855f..29b6d1311f4c8a8c2ba996f806b654d6c8e61525 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 de63d39f3696ba964d43eccc6d063590d1442df3..69861e0e26917057d9b1ebc61c603f84fda7ba38 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 3f153dc3caac04b57f3a7d99170da91a5fd3fce6..672cec7b94020215a3fa8f2c9fad28515036773c 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 18ef106b82425bbf4bfce4598ed7a65bb32df839..6f72c91c0ed6019f129120d332be63a004ce69a0 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 35776bab04dcafb06ab54c0208b515185ba8dae4..13568f9b249fb211f2e1585e18d47b68e3ae15aa 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 be099c8bdfca3b5ed2a13fe86a3ebe68822ae2e9..d85c1ec85f13ce8daa313f9376769bb890979dff 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 bfd19dd2e41a84f3e06f8b439103444ecd1d90d2..f301431a329914e1478e4b58a5f8ad6e61e468e7 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 d9551d0bd9bafffd371342e37adb271ae26e7801..375a1158b2080979ff217a298f62bd38203ab957 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 530d2f4b7f23431324e3ae5ce8e2ff51aa7e4d80..319a0d371ad02512017c0df1abd23af9c2a0e198 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 ca4f59fd24d545d496057400af8d620d4a72e335..ed2d42608a9f1adb11e61aa178aa3e2d54013043 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 b68693005e5f2fdfe9121164c9f435f5cb783570..f0d1dddfe109a5e60c75468867182f7dfb660c27 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 6d23998ee68ce6d45ed709d7408d3cd0568bca3c..7d81ccb1616e2f45a5c1a580ad791e3e24da9d05 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 d1c8408728d7886efe1e3a4a02e642549244a59c..630b68cb1503f3dcc14a1ce2792f3f9d10d747f2 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 8a8a3f3385dc095c52fdbf6b34509c38fcdb3f83..d2ed5b361131f65491248b34884f5d093026aa83 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 637fc573459b10db27e9b3dba0be18b9255acff8..c051bb2ac061a77cc330fed79aea0417d74b7bea 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 aa4b27fa315b6deb02e6f5c3ac677cb1b24191ba..7545544d2d76fb9dd9acb448fbd50d234393760a 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 94ed2b30acc49edc23c3e27bb8814b9f5436ca93..242016ec96af56a4ec21f956fb343a12c8807b2f 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 5b3725ce8165c6e1baff488f36a6e27328a0a2af..f927b7fef658989fed829f678f3b30d5afb117c1 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 0c051fd8fa1a9d8bfec5a905e8c94765d43e3d6d..3e9e39db26261e4fad5bd7ca39b55232017445c3 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 36d26fa144edb90021350cbff1be89ee68ae7016..73df28ea606f9bf17076116d0e8d458abd77a0d1 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 ec776497c6217104907e3eb45834920541285350..8bad1844ffc480d081990a80e3c4cab408b8964b 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 e956336db06902ba1a9dd42b3fd3dec1c68b4539..84235da0c9f9e2d5a0a583f7960ccccb2aedf2b5 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 cbc4fceebc77f8b6fedf2a0d1a74e9b52d191fd4..ca6ef213b3f9a0090543526ec184a3159e1f5e2f 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 dfd6e2f3ba452486f1f62208a9e5d78a86a74845..a147e3efb983fd60cbda6284941d0780d23e6102 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 29a4030f21bb5d606f77d1d1b10bd1bb47a625c6..e7388fb1856e8e9c8e4e0dd985412e736eaa0af2 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 b0f4c2b5386eb4b48d942950755229584b4d553a..f34673987897a018088dad57126ceb6a1337637a 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 75bb16098c9e932a52feac9758b1e3afb87787c4..a440040c4fd60fc8d9aab5d106448562bd38898c 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 b5fe58c266b7eb14e22ab38de337ed985465b33a..03dc297136b3e4a81936807d612502e95a8bcb29 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 f0a96d8a33a66911a094d3d0044da5af448bcc58..a8a01ee892f551aa8051185a8cb76784d14108f7 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 2caa04ab4b55ec92eebf0cf227ae9229183dca34..7d0d7f9f983307887cc19148e0f38fc3cf0005e0 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 204010faa856611d346e049fbac11bd96db25007..45c565d000676f97a4bfce78f0f8ecedf4e5ade8 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 3e84b36c1bb7f35db032f8175414451ac54514a4..99089a8ba206bd48774b54559a69c7a7e1c7f671 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 db5ce4bdf6d54f2dbbbab3e21779dbae89b7db55..65e675e27d2243e822e87ae35101c9cd54591dad 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 abb67313815b16d0b6286ff3d5d314b19ea01e4a..e172158b9516347d46f6255c0b0f8a3ae144bedb 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 c8d958b136570eab799e7ab274f81ba25f080361..e3274543886b161e3e703d2cdb603fc24543b00d 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 b952abb1cb68079cb5ebad49a0143bd7faf57f1a..ad43e386ae2960445e8f5f3a841084d88c60c5b7 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 6dbc575195e6a9d9c6471aed0312dafe143b3f29..8b00d4915a7975c0d3379a21a1cbaf7402b81b84 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 e00c0b97107115935919f3f48d1f9aace8e6e055..f2861019e377738d9c163151df291012ab88979b 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 a35c61df76e3f1ef7212c213e727db2a17c33d5d..7f39e61083175fe267ce734844ad66dee1eb8129 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 2007b96e55fb9be1900ca63bcaffd23f8398928a..a2537d0235f0e822bc0ec736a2d578e1bbb7d8ca 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 ceb22194de79c40671c4c0d4c8c53157e443009d..633e975c012b2516ba27133dd01c50115875f0c9 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 8527803f956537760a211915403bf2b27f4c64ec..8d23d9df557e29418ab42159c359dbeb514a4d85 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 0af3d76066032b7526f1758cf393a4e9e21c0198..7ea33fcdcd7669a4c2eb0a07fce04829c4f9d8ce 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 bffce6e6a24a2582edd357e31be4eec28c8d9303..d92afb83f3a471aebb3387831a9b600dd476db6a 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 955b4cea150f0e549af99e0940a6ecd4495495da..1faac5261425d8856f048bade6bc8421c8f12fd9 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 5f7cf1cd94ac68ff4147955152b4be24d236ed1d..70c09fa4fca7afb4aea77dda806260dfff6c3890 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 b57dc44db93d50c9d5814121b91c6fe71f114a79..530989ac72739f49e06016b5b56344a81617e055 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 ef55116e30f5ac5c3fd4ec368300bc3f001a954f..fac0e840a7b07083db02a6a1dc5774c033e4a1d0 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 095f6822031ac8f1536df4e1b6dd2cd8e4421ee8..33125cfac1b88075b86fa1f7ac32b0e435353e37 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 472f4cfbaffe84469119377bab05d3cab7965c5b..fdca0c09ec7fb60808814782944dd08edadfa0e0 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 cc6516b4907ade99adbd9cd0ce5e92ede4b68a10..413a504090f9cccf645814d0675e1b915aefbef6 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 a83a8405b4b3bda412912040c60c606f2445b509..d1cca45b41eb9851daaab06ed7baf2ebe41d7a89 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 a368390f8f5de60b9afadb84af5f0912fc6a3705..5dde838a003788ca3b7fbbceab044054fe30016f 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 de3b94c2ee5e371617801b92ac4eb31e1a6a879e..1fc3902ec1ae53afa1419d3560bf3161d2995856 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 c86d9825ffc3d541ceb6c09d0b9d4248e5f83698..e62de6c87939eae101ddf0e5857c7899765ef541 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 918bc8764b388a851d8bacd35a3b191e03f7b4cd..09a1d217b7f53e6b85ec4c2e983f2aaccce3e331 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 6274325ab94a042e57094683859d54cc75258a93..80e407c139abc52a70c94c9a95b595371555cb42 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 a78e07e8abf55a30e0cbd86206ac4dbaafb568a7..fa84d4be4ca8464dd858bd4069aa6c27a466d3f1 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 e41a524e0a0ec69ea1e4446483d927266afc0d16..d1346214dc04a07e564ff6435b87e1c1313a35cc 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 9d66c46d1120b21f0e3296e48e60233b2bc98977..d4ad39cb5fd7d499c863bd4b24ecc3e5672100b4 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 1f946c48d00923c746071d7338f0e3ed882090ca..6b5c88f3139d9a9b0579a0e899f375650b3f462c 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 bfbc2464e695ae88ae801d5481839388785429e0..552ca3fdb45b2727e85b754bb023ba3dd5d19fa5 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 783e7edd26665d81f6ea9e7b982519ae2a047987..d92ea366f827ab112e588927419b6da56b52d85b 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 25db59f879fbb2bc615eecf48d1baede8b388a5c..90f3f34180103f03c6be0f41e34c6cb0ecebfc77 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 2dab837699021bccc931b70a82225c7dd935d3d6..591eeec8df68c3cc69497febbfeb8e1be8929bec 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 26a91c34f1b1e584851e734234a061a09a8fd20b..5f27639b3d0b26afc8d5f73f19f1befb858d1f73 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 8e2f3f2a25bebd1ddb51ebd295ee9fafb1282705..b6d1ecd8dafbe9a0fb398ca229b0bb3993ee86a7 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 9b470242c1189f1e2bd5d24b05a395d5db59fb49..08df43c5615dca621da81c42c0baa251672cdf90 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 98319e1737f12bce487eec03649efb956c57612e..10bb8860c279531b9e335cf8975ba20e560dfd5e 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 6c58a3d28c0055ada102b9a481dc071cf20993e6..32dfa21d5974e5aa74330136f586ef63096ce7f3 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 ff9332ae1052bd635770d7b2c534a927e5e5c37c..02262c6e44951a0d3188b2716ffd1b0ada831c41 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 d2586f3a5364d8e339652bba4d0b0de4ea64a035..640505195c1926ee4528401087f929ec764db735 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 74cff51268acc452976e5099cab14fd18c7bae22..d0596a4d83b43653e335cbe97002557d09552a0e 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 4bdf1ae64096e4ec377088be7c6c5202695d5342..0aec559a08ee996aec47ea14e9dadc6035455f82 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 f05b2e4ee781ac517cc0a508eb51d4da51d54e96..44636572fe7cc0b233c1215cf87f51801c5e93de 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 e48eb9cc98a0995d5b1e7c4cdec1381209314bdf..e2f0ade3db15045a4e86d830fe591c706836f8c5 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 235daf3b339d856a2667056da5ec3fd4b38fc54c..846efb962ace9604298003aa4013929d9e09f2fd 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 fada74bb4b1b011e9b494429304a514d9d6930eb..0c6f8f3430a5f16559cfe1b6c3427eb3f8c8c912 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 a30b3eb83e21105d979a42f6f84a4a822f0e210c..08e2308d0228d38d10a993e5936041bdc605b45e 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 b58f5a8dc7d4593e362bd31fbfe61770a8284065..c728d2631b6f729faf18fd6e7d8945c79144dab4 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 2632a3e96c8eb79c94bb4bf221e51e1d6e0ee818..8901ab1d7fb60e56fe2626ded797aa252ac2690c 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 1f305da746a5203c317c12e07f6ebfdd6d365c11..d0cee1357a8a1d958031efb31269ae7b18faf4d9 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 e0577bcc01cee3e25de86e43e7b5a1dc19535588..db157dfff28e3d44df56fd8197fcf15506fd2078 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 4cc5cfacfcbde94332acfa6950d1f4fe845d4b84..343f7735b75b2b577c0ca989894f6eaa7ad74a50 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 66454307bc607f2cd8c13a70e14aa57659bb0583..eba986bbba4b92ee7da1486cc6bc2ea249e0e4b7 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 3628749feea8074450dc062f3fe2eec06fa076a8..1a42048bd25a485987ccd05d59fabad4dd8c1d40 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 6cd95ed665f073d17fcc7f2ac47c4482b1bc1852..714da028ff4f6d3005c9702c852fce8495c8ebb3 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 cef263f4b1859f9360d5219a3060475b1437d4f6..99f337f6590589db382cfa540541def47960aac0 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 94403928a2f5775c8f88e0f044424b33e8f3a5e5..5eaf8b2105fc54378b157b6b8b50ee0952ff68fb 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 6b523d882402826a74d55f35bed69034788d05dd..c5b0ade4fe4f89682fb16c803f1ebf133e6e0110 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 cde645e859344e970bc4b2e9f8cd52f93f5fdcad..2e08a7d4cf2b8feb41fc9df1613890f968396df6 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 2a8764177a6116835a5f0f62fb2c4a8f6c30745b..615462091bc095cba0a346160fbe7721cb6792aa 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 70c45e38b5bc7009891b0ff23894c692ce3aab10..5a1731588d688e3d51280bb26003b61d7bf8f741 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 91fb1eb1d9a2e372b769eb68cdf698e5136258f6..1d9f4c67aeb8e9ff23f75c5c31174bdce70233a1 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 ddfa3ff7d33576bad428195e7d53f1cd1f1ba097..9b5d1c1b504e7348f6588fc9587e51cf786f6338 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 47a813489fc001e565b51cdeeac9cc8449ba22f1..f235f9751037d79e4686a12875723df00901ce83 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 6cd21ada167dbe3e5f4eca35b15b2b8adf93003e..dab0903e63b11d699427b0c1e23570e7322f1503 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 d3b27b664277babccebc9177a1bfbf568e61cbcb..daf3dd2068860a32b06f6d21d246746b4b408ff8 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 7931993bf679a72c123556f73e4b234a0302c021..f4d2fbc551abeafeb44e8dfc58e43e41947131b3 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 468ddd0c91fa7f3ad50ac3ca3b06336c6c7d7531..982a08c83429586849a379fa88335d76944eb733 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 a64d7626ee7abfeff921ab365bcc962d99a6baa0..a6927a36ccf1acdd77189f50f71e7c27ec4cbb40 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 9afb92f5dbd4ae989c1d83983f9544abd5efcefb..c32862769c6a76a4d4baf6b96b10be06899e92b2 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 8c9c7bc6942d48da148dd6514b025d1f93ebf921..b1ce47136892bb5a5fb33c1a3094695524a808a6 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 f395d60ada7fe111e8fa68824772e7dc1c8dbaa1..4365c71129fc8393118cd00c49bab872d57aed9c 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 93f60fb4b2db11d0eae50fc8a8a9831faa04c8fd..e3f1f25dbb891888c28022f47d6d7b03566170f7 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 4fafa68deebbae2f28358cd82b41382347c5a35e..16a8f57207a574844822f4ab8fdaedcfef571768 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 ee93c882925866e3422276111bec40578ee3c132..57f24c118f8e4e44967eb5ae73058677ab17dc93 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 574573a541325d69605516232e28071b818a4957..13ab06351f299b320a450f15a3a5f751a411e6e3 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 2a07b75132c3747ae907e5bd5d44bd0b6d8ff7fc..5133f2b8049a2d7c7b47b07591859c9e36f2af2a 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 d947b3516b46a8429af30992bb0899370b9b0f05..87c7069bb049159f410ad5e971acaddfc0244510 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 942601df85bc045eece0338a24fd0d63ae56aa7d..ab8e2039c98bf932e16a270f8ad7dcc7fa17fc3d 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 b59ea7673214d6c11061b9abdd6b6313c61aada1..fab021fff0b595f9c62d374c9a03341a62e3ea28 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 dde6c526b3ceefdb9865a0e62175184f6c019388..a11ca4144ad5bc944f8a849aed508f45d4edbbe9 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 36b34fb23433e8b24a1b63ddda808e8704ff5f9c..8f972a45194bac3fa39ea1c52aa7a5b7a1753052 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 5b72c265598cbfa083d08b20603b022fd3fa6c96..940fcd29da8c180633c946ae8996ff9eafa27e2e 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 2c4d6ee8fbd6a271a91b2179c5a4885fb735799b..6306ee306a915aee8b1c5d087460c8679455cf6c 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 579fffaae9b168bee4f130b0253e7447d0bc69e7..5838913a877f8080796ae7eedd79530748b9ddb4 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 dd317266cf40536fe5d78d8ca0a661e6bce35969..25b4d839e321cef48ed78c108b6ed3c1faed4d0e 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 d09cebdccc1b45d24df695a12c30e2e3264f04b4..446f0c707132eee27cf48baf6bcef9e020ceb66f 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 61ce482f77ed64d98070081b5f0d19c6eb6aab68..400187346c33442466a9a97b2dbd2aa064225c38 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 cb69d7a30311fb9a4417c64aa77974c8bba304e2..615855e5135536beb13e56b926a75a443a559592 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 6edaabf108e1d704c61ec6fb81cca595b0ae489a..4a65618fb7c5013a062407eb7d7df0f319b2a53a 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 d003a17fefb06b0c6a7591cac7ae47ddb481c244..5c3e4c30f321e0232983212b363a135e60bce006 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 47c51cdea5fe515a5f37f62c6738164805464829..6bcf1ee59464524b1a0d7c4a9b37e0ee7eb84c63 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 7356a6e5225bbae054fea84aa5952740754d8e27..8fc4722276d97d6b3d434ccb953a572634f96885 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 de08c524168a8543d891db7039cf08879814e142..3916c4ccc72c3f0f3531ddbd26d95d708715e137 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 edd1620b308c3268183f96d213d30d8297deecbf..793ab1a225ea3d7f7e0e374c8271cd2aa4fa7092 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 58a4615c3180e0ed3089a9c1ac9aa1ff6fadbab4..91279a07823ce1ab859f4da2c5881666cf3ba3cf 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 06def723e85add27f3775ed0ad84f69448d014eb..ea4e8e38caef920c9cbc6761b0c57dcdd43a88cb 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 46385a5426bf88ab53c4298acf6749875d665079..0cd375493394fc36a1e980074b514ffe1ba0443a 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 8b0f9f08e5aa1e7d63c481d8ef36674a2a153be2..71dbf8a433a54943e019e5100b17950ccd0793cc 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 76bc6640e197568e32523a929bc7624329350cbe..2fdc1bbef68d82547b041970f779f1212f1c5bd8 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 ca53db920880787a19680e52c857121335e50c18..658fc9a61a52f4a6a5355f98a211a9ba2e896438 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 ecc604aaa35bdb476c4838b0e7121bc2b9ee344f..ea3f76f82e0da21260e293a4b8f849c8910798dd 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 714bb37dd8e2be9f5df1342b42156572d8c47291..131a010d96ee32d577d1f242cef63c1fed17f52b 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 44ccd68002f15b8c9ec719c79c17e382ebf7413c..74c00c48a347cbdf3dbfd8c3116cc7fbe88ecb19 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 64204ba2f2960f8fcf7f701ace7ca53b368281c8..b54db65a02990a6fcb5d2c7518f2a7f1d1bfa5c7 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 5ec35c0ae7a86b9d8a766db886fb099d5e2f791d..4ebf7d8d94b7acd782a015ae155f2002cf9ff322 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 7318c9dde889757cbc0617c4b85ab7becc66e907..9d0f5c0fc5a95eb57190aaf031281afaf476bbc3 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 3f125083ae9c822ada1c989b7be32175b1643e30..b860e4a437d9d1a57e51ebd39367b619df41f36e 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 96a34459570fac67831048d3be818a5e38206066..7dc2152dcee88127e7059a0759fd294e5de2778e 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 5b96dbede99b4cb40221c2d111fde3d7bb49fe8f..2cbdb07bdad6e514f8f6453fb4a2c5358ac2506b 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 288ac2fa884d83b3c7695d5ac985d108d1cbcb37..ba78c09934d41b59b2244b6691319fe56d6c1de7 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 ff2a267429e754c3b321da67a2725a2ec8df272d..f4a9714c16fdf2506055c294db8885d990062015 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 a6b6c518ba4237ec4aa3223cc38bc4dead793b34..e1e9d7f7a1b14840b4e4144270446c32b977ea20 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 934be91ff21036b90b618be04ea38c0512880570..154de1c64d96e6dfb3be38e04a3924e0d5c2af06 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 96a5a654d7e2da69d81e61f5a9bc1ea317e09fb1..cbf10e3d0ab2ef6ec684099bbaa2c2ae46685ee9 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 df4eb01f14f23843dfa8963d2dec291140777df5..39f6581df2ea97afe6b3faecfebebae1504c00e3 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 b3811ce46be0d597f52bd3f288e949557d49b7e1..b2a8d496d525f935e4c348c4689a761e09de84cc 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 9dc05fc87284e4ebc7fd004d79bbeb357bcc67a8..ce572c61d779f3f7d06d9f87fafbd2ac891adabc 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 6d263c66bba45583a0f0c5cf6474786f432c0d38..7aaf965e617a41a1626907e3889714325fd7804f 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 a6605627f72fcdfa94b8eab8f9725ce9781e63b9..f631ab3c52772ff7af0c27d63fdbf89b8fa5a72f 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 9d622a80d8a18668dcce8400c63c39fed58e65da..0b47b6e6264097c64b5e28ed7ee445edda66c95a 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 a3a7e4872d6e2b5c2cc8d0c3b8c209ea2a94c686..d13d11036e7900d1c5292b9e7de091c6c9125883 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 cde6e1f75b97847f1fe0a426887908b5f72f38a5..643ec7c2fa82eed572a086623936d0393789f2d6 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 1900838fe47623dcf082ee17008eab70813dc052..a758c83ec5403278c84dfba7d3978a3653ccad5f 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 69d1b607487c81600b9a6b70544e5239ebc2560b..bdc2e492e3b09b20988516b9875a7d705186dad9 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 3f0a8231f690bcdbf33de85ebadfde6f58defabb..1791826037a786b22100e283e703c46036395657 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 cbd95c30b5f9ddd91348d975b240505ba0608522..913b05dec542091c84d0d72fa8721c5c8c3df350 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 55d839dd1def41234c47d6ffe0df01bbd2dc7908..cb2b26b989feda8dfb0b5d1265eec82428025209 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 14b8fdd8dd24b49dec3a4a378c5927b16338e1a2..d3a83d4508cb6d71c6a9f6768522f9cce53a243d 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 f6318e6f46ed388d43bb412f3e1d2d309ebe1e16..249aebeae17aedece4bbc9d97884d46458a8a618 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 076224bc10a09e1483213798589db5edd15374b3..08b088b88193432cb8ddcae7acbfded86da3f26c 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 7dc706629274a6e91a6c409363647d7fe3cfd790..4a901214186483431caf6cc586cf9ef098137f1f 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 b800da139734a1dee2c1589121e3fb828e3a905b..0cc981705e2fd0166aa0ab21abc5079c02b4f942 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 e0555f50b4a4b4dc584ab42995ef1ae8b49ae371..85a8619bcd5193806fe0b433c84e4787ce12b7e8 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 cc23ce18c47f619cfae6010291e4068fbdf4caca..5f21eedd9a47f13a82eff04488a061a195c6cbd1 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 88bc6fa84287042b01c734a2d16652414d27a7c6..0f71ff836258503d977e2e3cb6aefd1e97b5afa6 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 4fa9075fab32de1f57b1c85de23768a7a12738db..9ee12fcb5e6ba955dd353edde2a805d708cf9723 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 05d0bbd925c1268838c3184060cb92f33e5dc7b4..7e7d2e82993af540d1329ba4abb702e1f7664af6 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 3ea64a01412097f5841d3ec7b137047e96e57ee7..5162f2452428ff3117c33255a9b7c2d102699940 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 00388ba96de3c091d1a4d3b1021243dec3f19cfc..da4edca476f4feb0152300707ce99e482823f0a9 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 cd3b7056eb784f48f528ac0253f39c57b56c46be..fc6252688903b385e18eecb2b4582345744519fa 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 b76319f3ac3370a0c8efd312e835c446ebfe5ac2..b29f7e6e322cf65e515a89c2d644b57de18c361c 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 b700deafd3c84266de55d1719891b590685014cb..215620e6725c42c954db68c033c6400017e13115 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 1cb41be2d70b7be3b2b44d4f21121d1636346440..b2d9e6b7316bc7f845f49ab78b3d7f254d0907e4 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 ec5070b3bb1732853be43c291361e857b6b69ba2..d06811b4d904d0dd0168ad4302f69080ab19683a 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 08b8ddf2540c3daa6ae422775598eb8c1a4f2bce..1984d5aab55f0b8e0e454378dad8bfdde13ab587 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 e29d6cb970d65a7f76f1218d3ad9af8cf774d846..7cc412ae71624077005866215bb5864a0ed61cad 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 58b9741db000935a436307b384d35b98ab750bbc..976017c43fd64f54978b7a1d370ccc62dc698b8a 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 0c330a3c642fb733d7150e1c494e294bb1ca0d48..41092c5e6eb4d17f5e8ddb071bbf01b11078bb54 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 0018a8559ebf0fcbab3c11031019ca73a9c10a15..06fa7d480b0df7c1bf1b3c22c5463d39bcf330e7 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 e5c43a538c506dc6ac2a2b76e95752e23a28fd30..69599e2867af08ca81be287553c7b65f2037e4c2 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 31a652035ecef8d0ab0767ac9fd4cf1137c078a6..4a9e13fffe308edada5ada008a665fed2784e4d7 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 d7d39c5bf69f4c3ba11e970241678a1075b87a90..b534a4d2a505865ce4d55a834ee4a9660b7ce4b3 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 cf68a738ca535e55f6919bd0165dd2d64e03eb52..3e6580aea215724504337b674af752baf69a7a8e 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 1e769794a6b682359fca60a74eb4e2a311fba033..f2dea423e25eb1a763d6e93a9cbdecf1f8796d6b 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 f769d4f93684c715ad963913584f623d45346f72..4b378e51c48adbf20086a22a0a0b7632b9fddb65 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 f632522b462789ff3236c17f24f82fd43328d16e..10a8511b5200df85750014da1b157a00f89e1909 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 85bdf4460817ddb1aa6ddf09ec5cb1580a16be08..1c7ab52f4878757a2c4cced606cd0dc004e1b6d2 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 471b71bb674b7e3b0112f11b4fc7336d7bd9205d..730e4e59673bcd53b20b90ada8391d8a74619be5 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 1d1987d0aacea5ebd7018f9c489b319a7c659409..40cef2eb203887c459f50e6764a1e9d5bf33223a 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 6eea86c889bde763a519bc6482f325863000ed65..808e83f321ef6ccaf8e4d0d382baa45e8e1ef0ec 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 8e4ced60c751a3c973af6fd2818e42c8038bc0d3..8c5f02675afc8e081c38ca136651af943f6a9a0f 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 8f1a0231d9ba863e3f35f3e8bdf6a5906366dfc1..c71485930fe604c122385cc2c5a6315bf4ea4c0c 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 b3213ba872c70dd5c0a8b96e2fad0fba826ef330..550b6083799a1d42a815f3093ce8f2dfce989fe8 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 2cc3d6a46341e800ea4ce8afff03cad0fece9c4d..71678fc1b6605e14b198c1be6f4e91e5525ba605 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 3e0b5d53b8c27fd271e23c16fee433cb3b01cbd5..d6140c8d60c52fa044dd56c8f210acd60b5b6e2f 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 850803718b1a783848d629aa77a52a1ba821cd06..c4a01ed651a245bd27e5b13c9e2876b87a5f21ad 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 9967cec3f815b06e789ab6b56df5eda7538f90b8..b6f53dcb3112a98e28cf2f9a802c933b273a92a0 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 1ac1c63b32505301b42a861e7f35df6303de13bc..4ab6b30db8693384be28135f63507b0526d3d250 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 a757a2f3330f812b8463aacda8f749288fcc9b8e..fa44292e73e2fc35c42a420fe5f0ede1b10e6942 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 6e819802cca814c74dd690a1cc516f78e0cce63b..cc5397a71a4152e5df4c136a94efbb2b4b88c7e1 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 3f8ba6ff15a26b7435a0ebc0d48c3eb8c603f6a3..5d9a05cb0950d6fe005a5c42f9a24f66792f3ae0 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 88e9f8afc9b683ee74cf3d41c48f8a6ba163396e..5af9dfc3b8ba0f6d4c8802708a9396a0ce441134 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 e9c1a70496bcfbca29b787a6ceee903c15b3126c..ac07d5b7bf31db9cca6ac3d6cbd36901fe272cd6 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 cc615f098980efefe436ee73faaef7f9c9ea251a..2635ba1b7e9f5a9f1c60b7a640ce93b376039889 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 b727e1dba8afac2761ff8addd52f8ca2a2cca49d..b295a72f4a074518b4c654f8be0ddb9c004d1bf8 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 b98890a204e95adaa17624fb4515f2d3266f5b4f..7dfa86703d50991330b71d6c1b5b8416eff0ab4b 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 2f78fb49558d217b550d6dfba44ba0c203d30622..cc8c98b49b78b9ceb470361b4d1e9bb0dce1da3e 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 1b0900ea77bb540438287681724f1f3854a8574a..9401fdbfd48a3a08a902ef5b85625ec8848d6ddc 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 62f06e95713fd3a6b1468449b7e8fd1b2c75e39f..1b787efbe8144171da1b0f5d8cf56b6965982e2f 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 2bf0f281419c461eaeb3b33d5b6463ec4e798431..25b49a9431854a69bb8fb4023baf99325f3c448e 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 6ff6ada2f203ff6dba2c5fcac6e32c93ae855722..6332bc5ea2bd120521effb7c090be6a82d0e6e4a 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"