name=devkitARM version=r45 update_url="https://sourceforge.net/projects/devkitpro/files/$name/" update_names="/$name/${name}_$version/" download "https://sourceforge.net/projects/devkitpro/files/$name/${name}_$version/${name}_$version-x86_64-linux.tar.bz2" \ "660dd47bae0e4b70a0a649b4bc833e33" extrafile "devkitarm.sh" header_end mkdir -p "$dir_install/$dir_sysroot/opt/devkitPRO" extract "${name}_$version-x86_64-linux.tar.bz2" "$dir_install/$dir_sysroot/opt/devkitPRO" sed -i -e "s@%PREFIX%@$dir_sysroot@g" devkitarm.sh install -Dm644 devkitarm.sh "$dir_install/$dir_sysroot/etc/profile.d/devkitarm.sh" # vim:set tabstop=4 shiftwidth=4 syntax=sh et: