step1、install ndk-pkg
step2、update ndk-pkg-formula-repository
ndk-pkg update
step3、build and install dos2unix
ndk-pkg install dos2unix
ndk-pkg formula view dos2unix
{{ formula }}
if the formula of dos2unix dosn't meet your needs, you can edit it ⤵︎
ndk-pkg formula edit dos2unix
after editing, you may want to rebuild this package ⤵︎
ndk-pkg install dos2unix