summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.25/mythweb
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/mythtv/stable-0.25/mythweb')
-rw-r--r--abs/core/mythtv/stable-0.25/mythweb/PKGBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
index 5e1c853..9882ad8 100644
--- a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
+++ b/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mythweb
pkgver=0.25
-pkgrel=6
+pkgrel=9
commit_hash=`cat ../git_src/git_hash_web`
@@ -9,14 +9,14 @@ url="http://www.mythtv.org"
license="GPL"
arch=('i686' 'x86_64')
-depends=('mythtv>=0.25' 'lighttpd' 'php' 'local-website')
+depends=('mythtv>=0.25' 'lighttpd' 'php' 'supplemental-web')
groups=('mythtv-extras')
install=mythweb.install
#http://code.mythtv.org/trac/ticket/10504
-patches=(schedules.php.patch sorting.php.patch tv-schedules.php.patch)
+#patches=(schedules.php.patch sorting.php.patch tv-schedules.php.patch)
+patches=(schedules.php.patch tv-schedules.php.patch)
source=(`echo ${patches[@]:0}` mythweb.include mythweb_gen_light.conf)
-DOCROOT=/data/srv/httpd/mythweb
build() {
if [ -e ${srcdir}/mythweb ]
@@ -34,7 +34,7 @@ build() {
msg "The local files are updated."
- cd $startdir/src/mythweb
+ cd $srcdir/mythweb
@@ -49,11 +49,14 @@ build() {
[ "$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
+package() {
+ DOCROOT=/data/srv/httpd/mythweb
+ mkdir -p $pkgdir/$DOCROOT/{image_cache,php_sessions,data}
+ rsync -arp --exclude .git --delete-excluded $srcdir/mythweb/* $pkgdir/$DOCROOT
+ rm $pkgdir/$DOCROOT/README
+ chown -R http:http $pkgdir/$DOCROOT
chmod g+rw $pkgdir/$DOCROOT/{image_cache,php_sessions,data}
# mythweb modules_path fix for 0.24
@@ -69,7 +72,6 @@ build() {
}
md5sums=('392e570594859c026ac12194920246d8'
- '53cc59d6a8bf144027b25d5dcbfffc66'
'515e29fda503c199888a91553e1815a0'
'7645a6399434cbba35639713ac5d88e0'
'df190116b3aba35720fb6631885f973f')