summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable/mythweb/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-10-24 04:36:12 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-10-24 04:36:12 (GMT)
commit0cf41888ae911af8f323240637bae6306ac021b5 (patch)
tree0d9866a1dcdd908bac356b0284a984ddd4e0617d /abs/core-testing/mythtv/stable/mythweb/PKGBUILD
parentef6e804905b24dcd322c1a4dc698b51fa5ac87e1 (diff)
downloadlinhes_pkgbuild-0cf41888ae911af8f323240637bae6306ac021b5.zip
linhes_pkgbuild-0cf41888ae911af8f323240637bae6306ac021b5.tar.gz
linhes_pkgbuild-0cf41888ae911af8f323240637bae6306ac021b5.tar.bz2
install mythweb to the correct location.
Also apply gallery patches from #2923. These don't apply cleanly, but the rejects from patch 1 seem to be covered by patch 2
Diffstat (limited to 'abs/core-testing/mythtv/stable/mythweb/PKGBUILD')
-rw-r--r--abs/core-testing/mythtv/stable/mythweb/PKGBUILD31
1 files changed, 19 insertions, 12 deletions
diff --git a/abs/core-testing/mythtv/stable/mythweb/PKGBUILD b/abs/core-testing/mythtv/stable/mythweb/PKGBUILD
index e01323c..c4397c1 100644
--- a/abs/core-testing/mythtv/stable/mythweb/PKGBUILD
+++ b/abs/core-testing/mythtv/stable/mythweb/PKGBUILD
@@ -1,27 +1,34 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
-# Contributor: Philipp Giebel <arch@ambience-design.net>
-
pkgname=mythweb
pkgver=0.21
-pkgrel=1
+pkgrel=6
pkgdesc="Web interface for MythTV's backend"
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
license=('GPL')
-depends=("mythtv>=${pkgver}" 'apache' 'php')
+depends=("mythtv>=${pkgver}" 'lighttpd' 'php')
install=mythweb.install
source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2")
md5sums=('af20a78ac66719feddf9a39f1a799ded')
groups=('mythtv-extras')
+DOCROOT=srv/http/mythweb
build() {
- mkdir -p $startdir/pkg/srv/www/mythweb/{image_cache,php_sessions}
- cp -r $startdir/src/mythplugins-$pkgver/$pkgname/* $startdir/pkg/srv/www/mythweb
- cp $startdir/src/mythplugins-$pkgver/$pkgname/data/.htaccess $startdir/pkg/srv/www/mythweb
- rm $startdir/pkg/srv/www/mythweb/README
- chown -R nobody:nobody $startdir/pkg/srv/www/mythweb
- chmod g+rw $startdir/pkg/srv/www/mythweb/{image_cache,php_sessions,data}
+ mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions}
+#apply gallery patches here
+ cd $startdir/src/mythplugins-$pkgver/$pkgname/
+ patch -p0 < $startdir/patch/mythweb_gallery_updated1.diff
+ patch -p2 < $startdir/patch/2923-mythweb-gallery-English_GB_lang.diff
+ tar -zxvf $startdir/patch/icons.tar.gz
+###
+
+ cp -r $startdir/src/mythplugins-$pkgver/$pkgname/* $startdir/pkg/$DOCROOT
+# cp $startdir/src/mythplugins-$pkgver/$pkgname/data/.htaccess $startdir/pkg/$DOCROOT
+ rm $startdir/pkg/srv/$DOCROOT/README
+ chown -R http:users $startdir/pkg/$DOCROOT
+ chmod g+rw $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data}
+
+
+
}