Installing debian package (nano) on FriedlyArm (Arch Linux with QT)

I am a fan of nano editor and somehow FriendlyArm does not come with it. The following is a script which I use in installing nano

wget "" 
wget "" 
FILES=$(ls /root/*deb)
cd /
for NAME in $FILES ; do
     ar -x "${NAME}"
     tar zxf data.tar.gz
     rm debian-binary data.tar.gz control.tar.gz
     rm "${NAME}"
cd –
ln -sf /bin/nano-tiny /bin/nano

Note: copy the content of extracted lib to /lib also