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_prefix/$dir_libdir/devkitPRO" extract "${name}_$version-x86_64-linux.tar.bz2" "$dir_install/$dir_prefix/$dir_libdir/devkitPRO" sed -i -e "s/%DEVKITPRO%/$(safe_sed "$dir_sysroot/$dir_prefix/$dir_libdir/devkitPRO")/g" devkitarm.sh install -Dm755 -t "$dir_install/$dir_sysconfdir/profile.d/" devkitarm.sh # vim:set tabstop=4 shiftwidth=4 syntax=sh et: