diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-09-18 22:25:06 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-09-18 22:25:06 (GMT) |
commit | bf7ad0aef3cdad0fc0f4dae46763cce150ccc65d (patch) | |
tree | 8fd8b791dd85a859952560de70415b43a1fb89ff /abs | |
parent | 698d5855134c0d2b9f6ebaf26b4e828bc3083a7a (diff) | |
download | linhes_pkgbuild-bf7ad0aef3cdad0fc0f4dae46763cce150ccc65d.zip linhes_pkgbuild-bf7ad0aef3cdad0fc0f4dae46763cce150ccc65d.tar.gz linhes_pkgbuild-bf7ad0aef3cdad0fc0f4dae46763cce150ccc65d.tar.bz2 |
mythweb: change dep to supplemental-web.
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/mythtv/stable-0.25/mythweb/PKGBUILD | 10 |
1 files 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 |