name=apache-ant version=1.10.1 dlextract "https://www.apache.org/dist/ant/source/$name-$version-src.tar.xz" \ 'ebecbe7488c624b06bc6a264a3a7c4ec' _ cd "$name-$version" ./build.sh # Clean up build output rm -f dist/bin/*.bat dist/bin/*.cmd # Install mkdir -p "$dir_install/$dir_prefix/$dir_data/$name" cp -Ta dist "$dir_install/$dir_prefix/$dir_data/$name" mkdir -p "$dir_install/$dir_prefix/$dir_bin" ln -Tfs "/$dir_prefix/$dir_data/$name/bin/ant" "$dir_install/$dir_prefix/$dir_bin/ant" # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: