summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/mythtv/stable-0.24/mythtv/PKGBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD b/abs/core/mythtv/stable-0.24/mythtv/PKGBUILD
index 2fb4000..e7c6359 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 <dorphell@archlinux.org>
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,26 +28,28 @@ 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}" ]
then
- cd "${srcdir}/${pkgname}"
+ cd "${srcdir}/${pkgname}"/mythtv
msg "Clean up previous build..."
- make distclean
- msg "Updating from SVN..."
- svn up
+ #make distclean
+ cd "${srcdir}/${pkgname}"
+ msg "Updating from GIT..."
+ #git checkout -b 0.24-fixes origin/fixes/0.24
+ git pull
+ msg "The local files are updated."
else
cd "${srcdir}"
- msg "Checking Out from SVN..."
- svn co "${_svntrunk}/${_svnmod}"
- cd "${srcdir}/${pkgname}"
+ msg "Cloning from GIT..."
+ git clone $_gitroot $_gitname
+ 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} `