From 77fdb63da0abe101d2a110586f51a17f0d49549c Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 9 Nov 2010 03:10:28 +0000
Subject: mythtv: cosmetic PKGBUILD tweaks

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

diff --git a/abs/core/mythtv/stable-0.24/PKGBUILD b/abs/core/mythtv/stable-0.24/PKGBUILD
index 002c6c1..a935c76 100755
--- a/abs/core/mythtv/stable-0.24/PKGBUILD
+++ b/abs/core/mythtv/stable-0.24/PKGBUILD
@@ -23,7 +23,6 @@ groups=('pvr')
 #options=(!strip)
 #MAKEFLAGS="-j6"
 install='mythtv.install'
-patchs=()
 patchs=('smolt_jump.patch')
 optdepends=('xmltv: to download tv listings')
 #replaces=('mythtv-contrib')
@@ -39,11 +38,13 @@ build() {
         if [ -d "${srcdir}/${pkgname}" ]
          then
            cd "${srcdir}/${pkgname}"
-           echo "Updating from SVN..."
+           msg "Clean up previous build..."
+           make distclean 
+           msg "Updating from SVN..."
            svn up
-         else
+        else
            cd "${srcdir}"
-           echo "Checking Out from SVN..."
+           msg "Checking Out from SVN..."
            svn co "${_svntrunk}/${_svnmod}"
            cd "${srcdir}/${pkgname}"
          fi
@@ -61,12 +62,6 @@ build() {
         sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro
         find bindings/python contrib -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
 
-        # clean up from last build
-       # echo " simple configure to make sure the distclean works"
-       # ./configure
-       # make distclean
-       # echo "our configure"
-
   ARCH=${CARCH/_/-}
   ./configure --prefix=/usr --cpu=${ARCH} \
               --disable-audio-jack \
-- 
cgit v0.12

