From 63f9cc27578f48982a7e334e40a2db95f2ec3dca Mon Sep 17 00:00:00 2001
From: Nathan Harris <nharris@eoimaging.com>
Date: Sun, 8 Feb 2009 17:57:00 -0500
Subject: Finally compiles, but patches are not clean yet.

---
 abs/core-testing/mythtv/trunk/mythtv/PKGBUILD | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
index d5560bd..56929a7 100755
--- a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
@@ -1,5 +1,5 @@
 pkgname=mythtv-svn
-pkgver=19295
+pkgver=19957
 pkgrel=1
 pkgdesc="A personal video recorder for Linux"
 url="http://www.mythtv.org"
@@ -23,8 +23,9 @@ _svnmod=mythtv
 
 build() {
 
-#	svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
-	svn co $_svntrunk $_svnmod
+	svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+#	svn co $_svntrunk --config-dir ./ $_svnmod
+
 	cd $startdir/src/mythtv
 
 	echo "--------------------------applying patches----------------------------------------------------"
@@ -37,7 +38,9 @@ build() {
 	echo "--------------------------done applying patches-----------------------------------------------"
 
 	sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro
-	make distclean
+
+	[ "$CARCH" = "i686"   ] && ARCH="i686"
+	[ "$CARCH" = "x86_64" ] && ARCH="x86-64"
 
 	# configure
 	./configure --prefix=/usr --cpu=${ARCH} \
-- 
cgit v0.12