summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv
diff options
context:
space:
mode:
authorJames Meyer <jams@linhes.org>2010-12-29 15:18:53 (GMT)
committerJames Meyer <jams@linhes.org>2010-12-29 15:18:53 (GMT)
commitf1216cf18eff51debb106a85fd7140080bbb4306 (patch)
tree6f5c5198053470913c0045ff8a2c174168fd648e /abs/core/mythtv
parentcfb9728fa1e975be5211c86b6036909528004d52 (diff)
parent354311cc3d8ce3d9dc76128c78afa0eaae285d34 (diff)
downloadlinhes_pkgbuild-f1216cf18eff51debb106a85fd7140080bbb4306.zip
linhes_pkgbuild-f1216cf18eff51debb106a85fd7140080bbb4306.tar.gz
linhes_pkgbuild-f1216cf18eff51debb106a85fd7140080bbb4306.tar.bz2
Merge remote branch 'origin/testing' into testing
Diffstat (limited to 'abs/core/mythtv')
-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} `