diff options
Diffstat (limited to 'abs/core/mythtv/stable-0.25/mythweb/PKGBUILD')
-rw-r--r-- | abs/core/mythtv/stable-0.25/mythweb/PKGBUILD | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD b/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD deleted file mode 100644 index 9882ad8..0000000 --- a/abs/core/mythtv/stable-0.25/mythweb/PKGBUILD +++ /dev/null @@ -1,77 +0,0 @@ -pkgname=mythweb -pkgver=0.25 -pkgrel=9 - -commit_hash=`cat ../git_src/git_hash_web` - -pkgdesc="Web interface for MythTV's backend, $commit_hash" -url="http://www.mythtv.org" -license="GPL" -arch=('i686' 'x86_64') - -depends=('mythtv>=0.25' 'lighttpd' 'php' 'supplemental-web') -groups=('mythtv-extras') -install=mythweb.install -#http://code.mythtv.org/trac/ticket/10504 -#patches=(schedules.php.patch sorting.php.patch tv-schedules.php.patch) -patches=(schedules.php.patch tv-schedules.php.patch) -source=(`echo ${patches[@]:0}` mythweb.include mythweb_gen_light.conf) - -build() { - - if [ -e ${srcdir}/mythweb ] - then - rm -rf ${srcdir}/mythweb - fi - - cd ${startdir} - msg "copy in myth web src" - cp -rp ../git_src/mythweb $srcdir - cd ${srcdir}/${pkgbase} - - - - msg "The local files are updated." - - - cd $srcdir/mythweb - - - - echo "--------------------------applying patches----------------------------------------------------" - for i in `echo ${patches[@]:0} ` - do - echo applying $i - echo "-----------------------------" - patch -Np0 -i ${srcdir}/$i || return 1 - done - echo "--------------------------done applying patches-----------------------------------------------" - - [ "$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 - chown -R http:http $pkgdir/$DOCROOT - chmod g+rw $pkgdir/$DOCROOT/{image_cache,php_sessions,data} - - # mythweb modules_path fix for 0.24 - # http://code.mythtv.org/trac/ticket/9255 - cd ${pkgdir}/${DOCROOT} - ln -s modules modules_path - - #install conf files for lighttpd - mkdir -p $pkgdir/etc/lighttpd - install -D -m 644 $srcdir/mythweb.include $pkgdir/etc/lighttpd/ - #gen_light_conf - install -D -m0744 ${srcdir}/mythweb_gen_light.conf ${pkgdir}/etc/gen_light_conf.d/mythweb.conf - -} -md5sums=('392e570594859c026ac12194920246d8' - '515e29fda503c199888a91553e1815a0' - '7645a6399434cbba35639713ac5d88e0' - 'df190116b3aba35720fb6631885f973f') |