#!/bin/sh # for 0.22, we are starting the release numbers at 22000 # and incrementing from there every time we build pkgrel=22007 _svnver=23527 # NOTE: Make sure to build and install mythtv first BEFORE building anything else buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythflix' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes') # build and install for i in `echo ${buildlist[@]:0}` do echo "---------- building $i ----------" cd ./$i # set svn version in the PKGBUILD sed -i s/^_svnver=.*/_svnver=$_svnver/ PKGBUILD sed -i s/^pkgrel=.*/pkgrel=$pkgrel/ PKGBUILD # make the package mp -f -i -s -r --holdver || exit 1 # clean up afterwards rm -rf pkg rm -f *~ cd .. done echo "" echo "DONE!"