summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.24
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-01 23:00:33 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-01 23:00:33 (GMT)
commit8e8a41b22c1ca44dfe29e3679aaa1c612ac5e6d0 (patch)
tree0212e8c3b3e35afb6543654466817565589de03f /abs/core/mythtv/stable-0.24
parent784ded6c1174e139a116804fb9c124ea7c10e3cb (diff)
downloadlinhes_pkgbuild-8e8a41b22c1ca44dfe29e3679aaa1c612ac5e6d0.zip
linhes_pkgbuild-8e8a41b22c1ca44dfe29e3679aaa1c612ac5e6d0.tar.gz
linhes_pkgbuild-8e8a41b22c1ca44dfe29e3679aaa1c612ac5e6d0.tar.bz2
mythweb:switch to git.
Diffstat (limited to 'abs/core/mythtv/stable-0.24')
-rw-r--r--abs/core/mythtv/stable-0.24/mythweb/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD
new file mode 100644
index 0000000..59ba653
--- /dev/null
+++ b/abs/core/mythtv/stable-0.24/mythweb/PKGBUILD
@@ -0,0 +1,42 @@
+pkgname=mythweb
+pkgver=0.24
+pkgrel=9
+pkgdesc="Web interface for MythTV's backend"
+url="http://www.mythtv.org"
+license="GPL"
+arch=('i686' 'x86_64')
+
+depends=('mythtv>=0.24' 'lighttpd' 'php' 'local-website')
+groups=('mythtv-extras')
+
+patches=()
+source=('ftp://ftp.knoppmyth.net/R6/sources/mythweb-0.24-fixes.tar.bz2' `echo${patches[@]:0}`)
+
+DOCROOT=/data/srv/httpd/htdocs/mythweb
+_gitroot="https://github.com/mythtv/mythweb.git"
+_gitname="${pkgname}"
+build() {
+
+ cd $startdir/src/mythweb
+ git pull
+
+ echo "--------------------------applying patches----------------------------------------------------"
+ for i in `echo ${patches[@]:0} `
+ do
+ echo applying $i
+ echo "-----------------------------"
+ patch -Np0 -i ${startdir}/src/$i || return 1
+ done
+ echo "--------------------------done applying patches-----------------------------------------------"
+
+ [ "$CARCH" = "i686" ] && ARCH="i686"
+ [ "$CARCH" = "x86_64" ] && ARCH="x86-64"
+
+ mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data}
+ rsync -arp --exclude .git --delete-excluded $startdir/src/mythweb/* $startdir/pkg/$DOCROOT
+ rm $startdir/pkg/$DOCROOT/README
+ chown -R http:http $startdir/pkg/$DOCROOT
+ chmod g+rw $pkgdir/$DOCROOT/{image_cache,php_sessions,data}
+
+}
+md5sums=('45703fa3899c4ee84d1b087bfcc6654e')