Working on HDP 2.4 with hue 3.11 now. These are the minimal required version to get the original repo working with gethue.com. Hue and Hortonworks changed since it was created. This is why the original repo doesn't work.
Soon as I am done I will make another one for HDP 2.x with 4.x.
Install is very easy and it should work out of the box if there are no dependency issues. The dependencies are documented at gethue.com. For my test the epel repo was what I needed to get centos 7.4 ready to install everything.
Here are the node commands in my test to install Ambari and HDP 2.6.5:
I am installing it now. This should work, but I want to make some disclosures so you understand. This is a custom service and not supported. It will work just fine but you will have to do more work after "install".
The change from Hue3 to Hue4 is quite a bit more differences than just the required differences to make the original service work. The Hue 3 included a configuration for "pseudo-distributed.ini". The Hue 4 uses a default "hue.ini" file with minimal changes.
Once you install, you will need to make changes to the configs hue.ini via ambari as you work towards getting Hue Plugins configured: HDFS, Hive, Hbase, Zeppelin, etc.
If you have any issues please open a new question here and tag me in it.