pkgname=mythweb pkgver=0.21 pkgrel=12 pkgdesc="Web interface for MythTV's backend" arch=('i686' 'x86_64') url="http://www.mythtv.org" license=('GPL') depends=("mythtv>=${pkgver}" 'lighttpd' 'php' 'local-website') install=mythweb.install source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2") md5sums=('1b3e2a97b7ecf7373e162fe20b6faabe') groups=('mythtv-extras') DOCROOT=/data/srv/httpd/htdocs/mythweb build() { 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/$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} }