summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-04-24 19:07:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-04-24 19:07:00 (GMT)
commita6bb890dc7c9f5679377077d7dce76da9db7d4dc (patch)
treee01a49e0439374f2156d38bc21d39ee3f9f2ba7b /abs
parent014afe812ad21473e0cd22877bf8092dc450af0f (diff)
downloadlinhes_pkgbuild-a6bb890dc7c9f5679377077d7dce76da9db7d4dc.zip
linhes_pkgbuild-a6bb890dc7c9f5679377077d7dce76da9db7d4dc.tar.gz
linhes_pkgbuild-a6bb890dc7c9f5679377077d7dce76da9db7d4dc.tar.bz2
mythweb: modified to use git_src_checkout
Diffstat (limited to 'abs')
-rw-r--r--abs/core/mythtv/stable-0.25/mythweb/PKGBUILD33
1 files changed, 25 insertions, 8 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
index cab8fbd..f78c224 100644
--- a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
+++ b/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
@@ -1,24 +1,41 @@
pkgname=mythweb
-pkgver=0.24
-pkgrel=16
-pkgdesc="Web interface for MythTV's backend"
+pkgver=0.25
+pkgrel=1
+
+commit_hash=`cat ../git_src/git_hash_web`
+
+pkgdesc="Web interface for MythTV's backend, $commit_hash"
url="http://www.mythtv.org"
license="GPL"
arch=('i686' 'x86_64')
-depends=('mythtv>=0.24' 'lighttpd' 'php' 'local-website')
+depends=('mythtv>=0.25' 'lighttpd' 'php' 'local-website')
groups=('mythtv-extras')
patches=()
-source=('ftp://ftp.knoppmyth.net/R6/sources/mythweb-0.24-fixes.tar.bz2' `echo ${patches[@]:0}`)
+source=(`echo ${patches[@]:0}`)
DOCROOT=/data/srv/httpd/htdocs/mythweb
-_gitroot="https://github.com/mythtv/mythweb.git"
-_gitname="${pkgname}"
build() {
+ if [ -e ${srcdir}/mythweb ]
+ then
+ rm -rf ${srcdir}/mythweb
+ fi
+
+ cd ${startdir}
+ msg "copy in myth web src"
+ cp -rp ../git_src/mythweb $srcdir
+ cd ${srcdir}/${pkgbase}
+
+
+
+ msg "The local files are updated."
+
+
cd $startdir/src/mythweb
- git pull
+
+
echo "--------------------------applying patches----------------------------------------------------"
for i in `echo ${patches[@]:0} `