pkgname=Python version=3.14.3 upstream="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz" function do_configure { mkdir -p build cd build conf_flags=( --prefix=/usr --without-static-libpython --enable-shared ) ../configure "${conf_flags[@]}" } function do_build { cd build/ make -j$(nproc) } function do_install { cd build/ make DESTDIR="${MASTERDIR}" install }