From 2882a54f6f4c17462d6f4321083cba124a0667d5 Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Sat, 1 Jan 2011 17:19:00 -0800
Subject: myththemes:switch to git.

---
 abs/core/mythtv/stable-0.24/myththemes/PKGBUILD | 29 +++++++------------------
 1 file changed, 8 insertions(+), 21 deletions(-)

diff --git a/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD b/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD
index 7c19e5a..962d674 100644
--- a/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD
+++ b/abs/core/mythtv/stable-0.24/myththemes/PKGBUILD
@@ -5,33 +5,19 @@
 
 pkgname=myththemes
 pkgver=0.24
-pkgrel=6
+pkgrel=7
 pkgdesc="Themes for MythTV"
 arch=('any')
 url="http://www.mythtv.org/"
 license=('GPL')
 depends=("mythtv>=${pkgver}")
-source=(`echo ${patches[@]:0}`)
-
+source=('ftp://ftp.knoppmyth.net/R6/sources/myththemes-0.24-fixes.tar.bz2' `echo ${patches[@]:0}`)
+_gitroot="https://github.com/MythTV/myththemes.git"
+_gitname="${pkgname}"
 build() {
-   _svntrunk="http://svn.mythtv.org/svn/branches/release-0-24-fixes"
-   _svnmod="${pkgname}"
-
-     # get clean copy from SVN repo
-     if [ -d "${srcdir}/${pkgname}" ]
-       then
-         cd "${srcdir}/${pkgname}"
-         msg "Clean up from previous build..."
-         make distclean
-         msg "Updating from SVN..."
-         svn up
-       else
-         cd "${srcdir}"
-         msg "Checking Out from SVN..."
-         svn co "${_svntrunk}/${_svnmod}"
-         cd "${srcdir}/${pkgname}"
-     fi
-
+	cd $srcdir/myththemes
+	git pull
+        rm -fr Mythbuntu
         # apply patches
         echo "--------------------------applying patches----------------------------------------------------"
         for i in `echo ${patchs[@]:0} `
@@ -49,3 +35,4 @@ package() {
   cd "${srcdir}/${pkgname}"
   make INSTALL_ROOT="${pkgdir}" install || return 1
 }
+md5sums=('a5c9475a6d29c313cd9ae77566ee277a')
-- 
cgit v0.12

