summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-02 01:19:00 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-02 01:19:00 (GMT)
commit2882a54f6f4c17462d6f4321083cba124a0667d5 (patch)
tree6df16437a12ef3a3053353e3021a15693216b8c4 /abs/core
parent8e8a41b22c1ca44dfe29e3679aaa1c612ac5e6d0 (diff)
downloadlinhes_pkgbuild-2882a54f6f4c17462d6f4321083cba124a0667d5.zip
linhes_pkgbuild-2882a54f6f4c17462d6f4321083cba124a0667d5.tar.gz
linhes_pkgbuild-2882a54f6f4c17462d6f4321083cba124a0667d5.tar.bz2
myththemes:switch to git.
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/mythtv/stable-0.24/myththemes/PKGBUILD29
1 files 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')