This project has been retired. It is horribly outdated and non-functional.
It was working with my (not-anymore) Nexus 5 hammerhead
phone under Ubuntu 16.04.3 but a lot has changed ever since.
The project repository github.com/grisu48/LineageBuild has been archived in case someone might find it useful. The purpose was to make the process of building your own LineageOS easier. The script worked with Ubuntu 16.04.3. More information is on the GitHub page, but don’t expect it to work.
This page is kept here to remind me of the good old times (TM) when I still had the energy and time to build my own LineageOS for my phone.