Hi Nilay,
The command "set_targets.sh" does not build the databases but rather downloads all the genome files needed from NCBI (which are growing significantly years after years), decompresses them, then analyzes their taxonomy.
I do not know what is your installation/configuration so I can't tell if 30hours is a normal runtime for you. If you're using your laptop, I'd recommend you use an ethernet cable or any fast link to make sure you have best bandwidth you can get, and also check your laptop (and make sure it has a fast processor, 2.6GHz or more is preferable). You can monitor the scripts and make sure they are running, as well as the folder content inside the directory you set for the database.
I hope this helps!
Best,
Rachid