Its just a simple script (i named it build.sh):
#!/bin/sh
cd /home/hts/build/tvheadend #thats my cloned git repo
git pull #getting newest build from git
./Autobuild.sh #i'm using no special parameters, only autobuild script which comes with repo
cd /home/hts/build #one folder back
mv tvheadend_*.deb /home/pi/download #moving new debfile to another folder
rm tvheadend-dbg*.deb #deleting unnecessary files
rm tvheadend_*.changes # "
cp /home/pi/download/tvheadend_*.deb /media/netzlaufwerke/banana-wwwroot/tvheadend #copying that to samba-shared folders on my banana pro
cp /home/pi/download/tvheadend_*.deb /media/netzlaufwerke/banana-home/download # "
As you see, nothing special, just typing ./build.sh and all running and copying files to where i want to have that. I set some crontab to build this once every night.If you want to have transcoding or hdhomerun, you have to compile some stuff, but thats not easy and i didnt need that...but i think there are some tutorials at the web. As i said, i'm just a linux noob with less skills in coding ;)