summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/mp_all.sh
blob: dd310fc5354bc4ba74d1042fa06d55a5bcd25f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh
pkgver=21228
pkgrel=1

# 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')
#buildlist=(mythtv-release-fixes Midnight-blue Midnight-wide MythVanage-mythmenu basic-amber basic-blue basic-green basic-purple basic-red  mytharchive mythbrowser mythcontrols mythflix mythgallery mythgame mythmovietime mythmusic mythnews mythphone mythsmolt mythtv-themes mythvideo mythweather mythweb syth-lacquer-clean syth-lacquer-wide)
buildlist=(Midnight-blue Midnight-wide MythVanage-mythmenu basic-amber basic-blue basic-green basic-purple basic-red  mytharchive mythbrowser mythcontrols mythflix mythgallery mythgame mythmovietime mythmusic mythnews mythphone mythsmolt mythtv-themes mythvideo mythweather mythweb syth-lacquer-wide)
buildlist=(MythVantage-config MythVantage-system certmaster confuse dnsmasq e16-myth-settings enlightenment evrouter func ghosd graphviz hobbit-client hobbitmon keylaunch lcdproc lighttpd local-website mediadirs mythdb-initial mythtv-status mythvantage-live ncid openssh runit-scripts-mv syslog-ng tilda webcal)
# build and install
for i in `echo ${buildlist[@]:0}`
do
	echo "---------- building $i ----------"
	cd ./$i

	# set svn version in the PKGBUILD
#	sed -i s/^pkgver=.*/pkgver=$pkgver/ PKGBUILD
#	sed -i s/^pkgrel=.*/pkgrel=$pkgrel/ PKGBUILD

	# make the package
	mp -sr --noconfirm  -f  --holdver || exit 1
	pacman -Sy
	# clean up afterwards
	rm -rf pkg
	rm -f *~

	cd ..
done

echo ""
echo "DONE!"