pkgname=libxcrypt version=4.5.2 upstream="https://github.com/besser82/libxcrypt/releases/download/v${version}/libxcrypt-${version}.tar.xz" build_no=1 makedepends=(perl) function do_configure { mkdir build cd build conf_flags=( --prefix=/usr --host=${DISTRO_TC} --disable-werror ) ../configure "${conf_flags[@]}" } function do_build { cd build make -j$(nproc) } function do_install { cd build make DESTDIR=${DESTDIR} install }