From e292ab7f897ae23e1516432d92c0b4aa239e097e Mon Sep 17 00:00:00 2001 From: Cecil Date: Wed, 29 Dec 2010 01:03:27 -0800 Subject: mythtv:initial switch from SVN to Git (still have clean up todo). --- abs/core/mythtv/stable-0.24/mythtv/PKGBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD index 2fb4000..65fc538 100755 --- a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD @@ -5,8 +5,8 @@ # Contributor: dorphell pkgname=mythtv -pkgver=0.24 -pkgrel=8 +pkgver=20101229 +pkgrel=1 pkgdesc="A Homebrew PVR project" arch=('i686' 'x86_64') url="http://www.mythtv.org/" @@ -28,10 +28,9 @@ optdepends=('xmltv: to download tv listings') #replaces=('mythtv-contrib') #conflicts=('mythtv-contrib') source=('mythbackend' 'myth.sh' `echo ${patchs[@]:0}` 'mythbackend.lr' 'mythfrontend.lr' 'pretty') - +_gitroot="https://github.com/MythTV/mythtv.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}" ] @@ -39,12 +38,13 @@ build() { cd "${srcdir}/${pkgname}" msg "Clean up previous build..." make distclean - msg "Updating from SVN..." - svn up + msg "Updating from GIT..." + git pull origin + msg "The local files are updated." else cd "${srcdir}" - msg "Checking Out from SVN..." - svn co "${_svntrunk}/${_svnmod}" + msg "Cloning from GIT..." + git clone $_gitroot $_gitname cd "${srcdir}/${pkgname}" fi -- cgit v0.12