Skip to content

Commit

Permalink
Ports: Switch to the new files syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
timschumi committed Sep 8, 2023
1 parent 920dc1b commit 456fd9f
Show file tree
Hide file tree
Showing 325 changed files with 368 additions and 351 deletions.
27 changes: 22 additions & 5 deletions Ports/.port_include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ fi
mkdir -p "${PORT_BUILD_DIR}"
cd "${PORT_BUILD_DIR}"

# 1 = url
# 2 = sha256sum
FILES_SIMPLE_PATTERN='^(https?:\/\/.+)#([0-9a-f]{64})$'

cleanup_git() {
echo "WARNING: Reverting changes to $workdir as we are in dev mode!"
run git clean -xffd >/dev/null 2>&1
Expand Down Expand Up @@ -367,8 +371,15 @@ func_defined fetch || fetch() {
pre_fetch

for f in "${files[@]}"; do
read url auth_sum <<< $(echo "${f}")
fetch_simple "${url}" "${auth_sum}"
if [[ "${f}" =~ ${FILES_SIMPLE_PATTERN} ]]; then
url="${BASH_REMATCH[1]}"
sha256sum="${BASH_REMATCH[2]}"
fetch_simple "${url}" "${sha256sum}"
continue
fi

echo "error: Unknown syntax for files entry '${f}'"
exit 1
done

post_fetch
Expand Down Expand Up @@ -422,9 +433,15 @@ clean() {
}
clean_dist() {
for f in "${files[@]}"; do
read url hash <<< "$f"
filename=$(basename "$url")
rm -f "${PORT_META_DIR}/${filename}"
if [[ "${f}" =~ ${FILES_SIMPLE_PATTERN} ]]; then
url="${BASH_REMATCH[1]}"
filename=$(basename "$url")
rm -f "${PORT_META_DIR}/${filename}"
continue
fi

echo "error: Unknown syntax for files entry '${f}'"
exit 1
done
}
clean_all() {
Expand Down
2 changes: 1 addition & 1 deletion Ports/Another-World/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317"
"https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter/archive/refs/heads/master.zip#326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317"
)
launcher_name="Another World"
launcher_category=Games
Expand Down
2 changes: 1 addition & 1 deletion Ports/ClassiCube/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
port='ClassiCube'
version='1.3.3'
files=(
"https://github.com/UnknownShadow200/ClassiCube/archive/refs/tags/${version}.tar.gz f90acfeb82fd440ead6e086694d99bd1583b0174da1801687c4c3d0fcb21d83d"
"https://github.com/UnknownShadow200/ClassiCube/archive/refs/tags/${version}.tar.gz#f90acfeb82fd440ead6e086694d99bd1583b0174da1801687c4c3d0fcb21d83d"
)
workdir="${port}-${version}/src/"
depends=(
Expand Down
2 changes: 1 addition & 1 deletion Ports/ObjFW/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version="master"
commit="2903ecda7767a9563b6d3c74581b3920d32e6576"
useconfigure="true"
files=(
"https://github.com/ObjFW/ObjFW/archive/${commit}.tar.gz ef5e3158e898415a9458f2c9a620b47f111b9a2af0bc8c48bcde4e13ae2b7727"
"https://github.com/ObjFW/ObjFW/archive/${commit}.tar.gz#ef5e3158e898415a9458f2c9a620b47f111b9a2af0bc8c48bcde4e13ae2b7727"
)
workdir="ObjFW-${commit}"
use_fresh_config_sub='true'
Expand Down
2 changes: 1 addition & 1 deletion Ports/OpenJDK/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ 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 4bd3d2534d7b584c01711e64b9e5b7e79052a1759d3fded8d64107ebc9d37dc2"
"https://github.com/openjdk/jdk17u-dev/archive/refs/tags/jdk-${version}-ga.tar.gz#4bd3d2534d7b584c01711e64b9e5b7e79052a1759d3fded8d64107ebc9d37dc2"
)
depends=("fontconfig" "libffi")

Expand Down
6 changes: 3 additions & 3 deletions Ports/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ port='foo'
version='1.2.3'
useconfigure='true'
files=(
"https://example.com/foo-${version}.tar.gz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a"
"https://example.com/foo-${version}.tar.gz#9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a"
)
depends=(
'bar'
Expand Down Expand Up @@ -194,7 +194,7 @@ An array of external files required by the port, one per line. The format of eac
entry is as follows:

```text
URL HASH
URL#HASH
```

Where `URL` is the URL from where the file will be downloaded (using `curl`)
Expand All @@ -204,7 +204,7 @@ For example:

```bash
files=(
"https://example.com/foo-${version}.tar.xz 9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a"
"https://example.com/foo-${version}.tar.xz#9acd50f9a2af37e471f761c3fe7b8dea5617e51dac802fe6c177b74abf0abb5a"
)
```

Expand Down
2 changes: 1 addition & 1 deletion Ports/RISCVEmu/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
port=RISCVEmu
version=ad8ad6a0eb8591385318b2ec1cffde6078ff0185
files=(
"https://github.com/IdanHo/RISCVEmu/archive/${version}.tar.gz b4636284dd407e490ba6dd783b65caf8c019785285d6a86aece3860465276b33"
"https://github.com/IdanHo/RISCVEmu/archive/${version}.tar.gz#b4636284dd407e490ba6dd783b65caf8c019785285d6a86aece3860465276b33"
)

build() {
Expand Down
2 changes: 1 addition & 1 deletion Ports/RetroArch/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ useconfigure="true"
version="1.12.0"
archive_hash="c912e32a0300f16ade827d48a4a948d5dab40b764cd1169f61108c6f5803649a"
files=(
"https://github.com/libretro/${port}/archive/refs/tags/v${version}.tar.gz $archive_hash"
"https://github.com/libretro/${port}/archive/refs/tags/v${version}.tar.gz#$archive_hash"
)
depends=("freetype" "SDL2" "zlib")

Expand Down
2 changes: 1 addition & 1 deletion Ports/SDL2-GNUBoy/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ port=SDL2-GNUBoy
version=1.2.1
useconfigure=false
files=(
"https://github.com/AlexOberhofer/SDL2-GNUBoy/archive/refs/tags/v${version}.tar.gz d8b729aa88747301ed39514ad9dc857b842332ac87242993881e15125af1be20"
"https://github.com/AlexOberhofer/SDL2-GNUBoy/archive/refs/tags/v${version}.tar.gz#d8b729aa88747301ed39514ad9dc857b842332ac87242993881e15125af1be20"
)
depends=("SDL2")
2 changes: 1 addition & 1 deletion Ports/SDL2/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ port='SDL2'
version='2.28.2'
useconfigure='true'
files=(
"https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz 64b1102fa22093515b02ef33dd8739dee1ba57e9dbba6a092942b8bbed1a1c5e"
"https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz#64b1102fa22093515b02ef33dd8739dee1ba57e9dbba6a092942b8bbed1a1c5e"
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
Expand Down
2 changes: 1 addition & 1 deletion Ports/SDL2_gfx/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
port=SDL2_gfx
version=1.0.4
files=(
"https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz 63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262"
"https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz#63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262"
)
depends=("SDL2")
useconfigure=true
Expand Down
2 changes: 1 addition & 1 deletion Ports/SDL2_image/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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 48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777"
"https://github.com/libsdl-org/SDL_image/releases/download/release-${version}/SDL2_image-${version}.tar.gz#48355fb4d8d00bac639cd1c4f4a7661c4afef2c212af60b340e06b7059814777"
)

configure() {
Expand Down
2 changes: 1 addition & 1 deletion Ports/SDL2_mixer/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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 8cdea810366decba3c33d32b8071bccd1c309b2499a54946d92b48e6922aa371"
"https://github.com/libsdl-org/SDL_mixer/releases/download/release-${version}/SDL2_mixer-${version}.tar.gz#8cdea810366decba3c33d32b8071bccd1c309b2499a54946d92b48e6922aa371"
)
depends=("libmodplug" "libmpg123" "libvorbis" "SDL2" "timidity")

Expand Down
2 changes: 1 addition & 1 deletion Ports/SDL2_net/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ configopts=(
"--enable-shared"
)
files=(
"https://github.com/libsdl-org/SDL_net/releases/download/release-${version}/SDL2_net-${version}.tar.gz 4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb"
"https://github.com/libsdl-org/SDL_net/releases/download/release-${version}/SDL2_net-${version}.tar.gz#4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb"
)
depends=("SDL2")
2 changes: 1 addition & 1 deletion Ports/SDL2_sound/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ workdir="SDL_sound-${_commit}"
useconfigure='true'
depends=('SDL2')
files=(
"https://github.com/icculus/SDL_sound/archive/${_commit}.zip d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1"
"https://github.com/icculus/SDL_sound/archive/${_commit}.zip#d29f90dd5abacf9f818f0b1567fab6b3dc6292d0a942e8e8d1e8f84130eea7a1"
)
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")

Expand Down
2 changes: 1 addition & 1 deletion Ports/SDL2_ttf/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ 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 78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57"
"https://github.com/libsdl-org/SDL_ttf/releases/download/release-${version}/SDL2_ttf-${version}.tar.gz#78cdad51f3cc3ada6932b1bb6e914b33798ab970a1e817763f22ddbfd97d0c57"
)
depends=("SDL2" "freetype")

Expand Down
2 changes: 1 addition & 1 deletion Ports/SDLPoP/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
files=(
"https://github.com/NagyD/SDLPoP/archive/${commitid}.zip d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5"
"https://github.com/NagyD/SDLPoP/archive/${commitid}.zip#d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5"
)
launcher_name='Prince of Persia'
launcher_category='Games'
Expand Down
2 changes: 1 addition & 1 deletion Ports/SDL_mixer/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
"https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${version}.tar.gz#1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
)
depends=("libmikmod" "libvorbis" "sdl12-compat" "timidity")

Expand Down
2 changes: 1 addition & 1 deletion Ports/SDL_sound/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ depends=(
'sdl12-compat'
)
files=(
"https://www.icculus.org/SDL_sound/downloads/${port}-${version}.tar.gz 3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"
"https://www.icculus.org/SDL_sound/downloads/${port}-${version}.tar.gz#3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df"
)
configopts=(
'--enable-flac=no'
Expand Down
2 changes: 1 addition & 1 deletion Ports/Super-Mario/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 fcacc15d3b5afccb3227f982d3e05f2cfeb198f0fffd008fdcda005cb7f87f91"
"https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip#fcacc15d3b5afccb3227f982d3e05f2cfeb198f0fffd008fdcda005cb7f87f91"
)
launcher_name="Super Mario"
launcher_category=Games
Expand Down
2 changes: 1 addition & 1 deletion Ports/SuperTuxKart/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ useconfigure='true'
version='1.4'
archive_hash='9890392419baf4715313f14d5ad60746f276eed36eb580636caf44e2532c0f03'
files=(
"https://github.com/supertuxkart/stk-code/releases/download/${version}/supertuxkart-${version}-src.tar.xz $archive_hash"
"https://github.com/supertuxkart/stk-code/releases/download/${version}/supertuxkart-${version}-src.tar.xz#$archive_hash"
)
workdir="${port}-${version}-src"
launcher_name='SuperTuxKart'
Expand Down
2 changes: 1 addition & 1 deletion Ports/VVVVVV/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ port='VVVVVV'
version='2.3.6'
useconfigure='true'
files=(
"https://github.com/TerryCavanagh/VVVVVV/archive/refs/tags/${version}.tar.gz a3366aab9e8462d330044ab1ec63927e9f5c3801c0ed96b24f08c553dcb911e9"
"https://github.com/TerryCavanagh/VVVVVV/archive/refs/tags/${version}.tar.gz#a3366aab9e8462d330044ab1ec63927e9f5c3801c0ed96b24f08c553dcb911e9"
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
Expand Down
2 changes: 1 addition & 1 deletion Ports/aclock/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
port='aclock'
version='2.3'
files=(
"https://github.com/tenox7/aclock/raw/f9668617eac365fe8b5416cfbd801b727d8a3746/sources/aclock-unix-curses.c 2b098996409c4740f492fb8fd5a63cb5e3e15283c2f7e3f06c75d6a9ad916669"
"https://github.com/tenox7/aclock/raw/f9668617eac365fe8b5416cfbd801b727d8a3746/sources/aclock-unix-curses.c#2b098996409c4740f492fb8fd5a63cb5e3e15283c2f7e3f06c75d6a9ad916669"
)
depends=("ncurses")

Expand Down
2 changes: 1 addition & 1 deletion Ports/acpica-tools/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ port=acpica-tools
version='R06_28_23'
workdir="acpica-${version}"
files=(
"https://github.com/acpica/acpica/archive/refs/tags/${version}.tar.gz 2248799b7ca08a7711ac87d31924354ed49047507607d033bd327ba861ec4d31"
"https://github.com/acpica/acpica/archive/refs/tags/${version}.tar.gz#2248799b7ca08a7711ac87d31924354ed49047507607d033bd327ba861ec4d31"
)


Expand Down
2 changes: 1 addition & 1 deletion Ports/alpine/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ configopts=(
use_fresh_config_sub='true'
use_fresh_config_guess='true'
files=(
"https://alpineapp.email/alpine/release/src/alpine-2.26.tar.xz c0779c2be6c47d30554854a3e14ef5e36539502b331068851329275898a9baba"
"https://alpineapp.email/alpine/release/src/alpine-2.26.tar.xz#c0779c2be6c47d30554854a3e14ef5e36539502b331068851329275898a9baba"
)
depends=(
'openssl'
Expand Down
2 changes: 1 addition & 1 deletion Ports/angband/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ workdir="Angband-${version}"
useconfigure=true
use_fresh_config_sub=true
files=(
"https://github.com/angband/angband/releases/download/${version}/Angband-${version}.tar.gz a07c78c1dd05e48ddbe4d8ef5d1880fcdeab55fd05f1336d9cba5dd110b15ff3"
"https://github.com/angband/angband/releases/download/${version}/Angband-${version}.tar.gz#a07c78c1dd05e48ddbe4d8ef5d1880fcdeab55fd05f1336d9cba5dd110b15ff3"
)
depends=("ncurses" "SDL2" "SDL2_image" "SDL2_ttf" "SDL2_mixer")
configopts=(
Expand Down
2 changes: 1 addition & 1 deletion Ports/aria2/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
port='aria2'
version='1.36.0'
files=(
"https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz 58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5"
"https://github.com/aria2/aria2/releases/download/release-${version}/aria2-${version}.tar.xz#58d1e7608c12404f0229a3d9a4953d0d00c18040504498b483305bcb3de907a5"
)
depends=(
'libssh2'
Expand Down
2 changes: 1 addition & 1 deletion Ports/awk/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ port=awk
version=20220122
useconfigure="false"
files=(
"https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz 720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042"
"https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz#720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042"
)
patchlevel=1

Expand Down
2 changes: 1 addition & 1 deletion Ports/backward-cpp/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ port='backward-cpp'
version='65a769f'
_commit='65a769ffe77cf9d759d801bc792ac56af8e911a3'
files=(
"https://github.com/bombela/backward-cpp/archive/${_commit}.tar.gz 452d230984e55d92a761709a467a0cc13a7cd5e205a2f954269a7d9d79fc356f"
"https://github.com/bombela/backward-cpp/archive/${_commit}.tar.gz#452d230984e55d92a761709a467a0cc13a7cd5e205a2f954269a7d9d79fc356f"
)
workdir="backward-cpp-${_commit}"
useconfigure='true'
Expand Down
2 changes: 1 addition & 1 deletion Ports/bash/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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 13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c"
"https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz#13720965b5f4fc3a0d4b61dd37e7565c741da9a5be24edc2ae00182fc1b3588c"
)

build() {
Expand Down
2 changes: 1 addition & 1 deletion Ports/bass/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
port=bass
version="cd-1.2"
files=(
"https://downloads.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/bass-${version}.zip 53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593"
"https://downloads.scummvm.org/frs/extras/Beneath%20a%20Steel%20Sky/bass-${version}.zip#53209b9400eab6fd7fa71518b2f357c8de75cfeaa5ba57024575ab79cc974593"
)
depends=("scummvm")

Expand Down
2 changes: 1 addition & 1 deletion Ports/bc/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
port='bc'
version='6.5.0'
files=(
"https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz b1afb1f50c0bce6119c98590bcc8afc22f520bc85c2b512c83938dbb8321cc30"
"https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz#b1afb1f50c0bce6119c98590bcc8afc22f520bc85c2b512c83938dbb8321cc30"
)
useconfigure='true'
configscript='configure.sh'
Expand Down
2 changes: 1 addition & 1 deletion Ports/bdwgc/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ 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 f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0"
"https://github.com/ivmai/bdwgc/releases/download/v$version/gc-$version.tar.gz#f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0"
)
depends=("libatomic_ops")
workdir="gc-$version"
Expand Down
2 changes: 1 addition & 1 deletion Ports/binutils/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ configopts=(
"--enable-libiberty"
)
files=(
"https://ftpmirror.gnu.org/gnu/binutils/binutils-${version}.tar.xz 0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1"
"https://ftpmirror.gnu.org/gnu/binutils/binutils-${version}.tar.xz#0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1"
)
depends=(
'zlib'
Expand Down
2 changes: 1 addition & 1 deletion Ports/bison/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ version='3.8'
useconfigure='true'
configopts=("--prefix=${SERENITY_INSTALL_ROOT}/usr/local")
files=(
"https://ftpmirror.gnu.org/gnu/bison/bison-${version}.tar.gz d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458"
"https://ftpmirror.gnu.org/gnu/bison/bison-${version}.tar.gz#d5d184d421aee15603939973a6b0f372f908edfb24c5bc740697497021ad9458"
)
2 changes: 1 addition & 1 deletion Ports/bochs/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ port=bochs
version=2.7
depends=("SDL2")
files=(
"https://download.sourceforge.net/project/bochs/bochs/$version/bochs-$version.tar.gz a010ab1bfdc72ac5a08d2e2412cd471c0febd66af1d9349bc0d796879de5b17a"
"https://download.sourceforge.net/project/bochs/bochs/$version/bochs-$version.tar.gz#a010ab1bfdc72ac5a08d2e2412cd471c0febd66af1d9349bc0d796879de5b17a"
)
useconfigure=true
use_fresh_config_sub=true
Expand Down
2 changes: 1 addition & 1 deletion Ports/boost/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ depends=(
'libicu'
)
files=(
"https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${version//./_}.tar.bz2 1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"
"https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${version//./_}.tar.bz2#1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0"
)
bjamopts=(
'--user-config=user-config.jam'
Expand Down
2 changes: 1 addition & 1 deletion Ports/brogue/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ depends=(
version='1.12'
workdir="BrogueCE-${version}"
files=(
"https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz aeed3f6ca0f4e352137b0196e9dddbdce542a9e99dda9effd915e018923cd428"
"https://github.com/tmewett/BrogueCE/archive/refs/tags/v${version}.tar.gz#aeed3f6ca0f4e352137b0196e9dddbdce542a9e99dda9effd915e018923cd428"
)
makeopts+=(
'bin/brogue'
Expand Down
Loading

0 comments on commit 456fd9f

Please sign in to comment.