From bf7ad0aef3cdad0fc0f4dae46763cce150ccc65d Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 18 Sep 2013 17:25:06 -0500 Subject: mythweb: change dep to supplemental-web. --- abs/core/mythtv/stable-0.25/mythweb/PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD index f3e019a..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=8 +pkgrel=9 commit_hash=`cat ../git_src/git_hash_web` @@ -9,7 +9,7 @@ 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 @@ -17,7 +17,6 @@ install=mythweb.install 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 ] @@ -35,7 +34,7 @@ build() { msg "The local files are updated." - cd $startdir/src/mythweb + cd $srcdir/mythweb @@ -50,7 +49,10 @@ build() { [ "$CARCH" = "i686" ] && ARCH="i686" [ "$CARCH" = "x86_64" ] && ARCH="x86-64" +} +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 -- cgit v0.12