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 "http://ftp.tw.debian.org/debian/pool/main/n/nano/nano-tiny_2.2.4-1_armel.deb" 
wget "http://ftp.tw.debian.org/debian/pool/main/s/slang2/libslang2_2.2.2-4_armel.deb" 
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}"
done
cd –
ln -sf /bin/nano-tiny /bin/nano

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