From 354311cc3d8ce3d9dc76128c78afa0eaae285d34 Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Wed, 29 Dec 2010 02:11:34 -0800
Subject: mythtv:more updates from switch to GIT.

---
 abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD
index 65fc538..e7c6359 100755
--- a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD
+++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD
@@ -35,19 +35,21 @@ build() {
         # get clean copy from SVN repo
         if [ -d "${srcdir}/${pkgname}" ]
          then
-           cd "${srcdir}/${pkgname}"
+           cd "${srcdir}/${pkgname}"/mythtv
            msg "Clean up previous build..."
-           make distclean 
+           #make distclean 
+           cd "${srcdir}/${pkgname}"
            msg "Updating from GIT..."
-           git pull origin
+	   #git checkout -b 0.24-fixes origin/fixes/0.24
+           git pull
 	   msg "The local files are updated."
         else
            cd "${srcdir}"
            msg "Cloning from GIT..."
            git clone $_gitroot $_gitname
-           cd "${srcdir}/${pkgname}"
+	   cd "${srcdir}/${pkgname}" && git checkout origin/fixes/0.24
          fi
-
+        cd "${srcdir}/${pkgname}"/mythtv
         # apply patches
         echo "--------------------------applying patches----------------------------------------------------"
         for i in `echo ${patchs[@]:0} `
-- 
cgit v0.12

