summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD
blob: 52eb059b9a6382ad65d40f7f943dfcc2749c0fd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
pkgname=mythweb-svn
pkgver=16153
pkgrel=20
pkgdesc="mythweb" 
url="http://www.mythtv.org" 
license="GPL" 
arch=('i686')
depends=(php fcgi libmysqlclient ) 
conflicts=('mythweb' 'mythweb-fixes') 
replaces=() 
backup=() 
install='mythweb.install' 
source=(mythweblighttpd.patch dblogininit.inc ) 
md5sums=() 
_svntrunk=http://cvs.mythtv.org/svn/trunk/mythplugins
_svnmod=mythplugins

build() { 
echo svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
#svn co http://cvs.mythtv.org/svn/trunk/mythtv
#svn co http://cvs.mythtv.org/svn/trunk/mythplugins
#svn co http://cvs.mythtv.org/svn/trunk/myththemes
cd $startdir/src/mythplugins

#take care of fing mythweb
mkdir -p $startdir/pkg/data/srv/httpd/htdocs/
cp -rp mythweb $startdir/pkg/data/srv/httpd/htdocs/
cp -f $startdir/src/dblogininit.inc $startdir/pkg/data/srv/httpd/htdocs/mythweb/includes/
cd  $startdir/pkg/data/srv/httpd/htdocs/mythweb/includes
patch -p0 < $startdir/src/mythweblighttpd.patch

chown -R nobody:nobody $startdir/pkg/data/srv/httpd/htdocs/mythweb
chmod -R  775 $startdir/pkg/data/srv/httpd/htdocs/mythweb
}