pkgname=mythweb-release-fixes pkgver=21228 pkgrel=1 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://svn.mythtv.org/svn/branches/release-0-21-fixes/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 }