diff options
Diffstat (limited to 'Ports/radare2/package.sh')
-rwxr-xr-x | Ports/radare2/package.sh | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Ports/radare2/package.sh b/Ports/radare2/package.sh index 5b5ba18920..183683702b 100755 --- a/Ports/radare2/package.sh +++ b/Ports/radare2/package.sh @@ -1,12 +1,11 @@ #!/usr/bin/env -S bash ../.port_include.sh -port=radare2 -version=5.7.0 -useconfigure=true -workdir=$port-$version -files="https://codeload.github.com/radareorg/radare2/tar.gz/refs/tags/$version radare2-$version.tar.gz fe7ca861bf71dd3c4766a57f73fd97b216bcfde161720f949c05875df212976b" -auth_type=sha256 -configopts=("--disable-debugger" "--disable-threads" "--with-ostype=serenityos" "--host=i686-serenityos") +port='radare2' +version='5.7.0' +files="https://github.com/radareorg/radare2/archive/refs/tags/${version}.tar.gz radare2-${version}.tar.gz fe7ca861bf71dd3c4766a57f73fd97b216bcfde161720f949c05875df212976b" +auth_type='sha256' +useconfigure='true' +configopts=("--disable-debugger" "--disable-threads" "--with-ostype=serenityos" "--host=${SERENITY_ARCH}-serenityos") pre_configure() { - cp -f "$workdir/dist/plugins-cfg/plugins.tiny.cfg" "$workdir/plugins.cfg" + cp -f "${workdir}/dist/plugins-cfg/plugins.tiny.cfg" "${workdir}/plugins.cfg" } |