From c7deae73bc996a769a143de71b5c4c7e4f439e6e Mon Sep 17 00:00:00 2001 From: James Meyer Date: Fri, 26 Mar 2010 14:51:12 -0500 Subject: mythtv | mythweb : stable and fixes remove copy statements that will include .svn directories ref #633 --- abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD | 8 +++++--- abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD | 8 ++++---- abs/core-testing/mythtv/trunk/mythtv/PKGBUILD | 7 ++++--- abs/core-testing/mythtv/trunk/mythweb/PKGBUILD | 5 +++-- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD index d0c526c..82a9b7c 100755 --- a/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD +++ b/abs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD @@ -66,11 +66,13 @@ build() { # install db schema, scripts and docs install -m0644 database/mc.sql $startdir/pkg/usr/share/mythtv/ || return 1 install -D -m0755 ../mythbackend $startdir/pkg/etc/rc.d/mythbackend || return 1 - cp -r docs $startdir/pkg/usr/share/mythtv/ || return 1 - # cp ../QUICKSTART.archlinux $startdir/pkg/usr/share/mythtv/ || return 1 + #cp -r docs $startdir/pkg/usr/share/mythtv/ || return 1 + #cp ../QUICKSTART.archlinux $startdir/pkg/usr/share/mythtv/ || return 1 + rsync -arp --exclude .svn --delete-excluded docs $startdir/pkg/usr/share/mythtv/ || return 1 # install contrib - cp -r contrib $startdir/pkg/usr/share/mythtv/ || return 1 + #cp -r contrib $startdir/pkg/usr/share/mythtv/ || return 1 + rsync -arp --exclude .svn --delete-excluded contrib $startdir/pkg/usr/share/mythtv/ || return 1 # patch the xml LinHES style cp -r $startdir/menu-xml/*.xml $startdir/pkg/usr/share/mythtv/themes/defaultmenu/ diff --git a/abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD b/abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD index d44528f..060a229 100644 --- a/abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD +++ b/abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD @@ -13,7 +13,6 @@ install=mythweb.install patches=() source=(`echo ${patches[@]:0}`) - _svntrunk=http://cvs.mythtv.org/svn/branches/release-0-22-fixes/mythplugins _svnver=23566 _svnmod=mythplugins @@ -41,9 +40,10 @@ build() { mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions} - cp -r $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT -# cp $startdir/src/mythplugins-$pkgver/mythweb/data/.htaccess $startdir/pkg/$DOCROOT - rm $startdir/pkg/srv/$DOCROOT/README + #cp -r $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT + rsync -arp --exclude .svn --delete-excluded $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT + + rm $startdir/pkg/$DOCROOT/README chown -R http:users $startdir/pkg/$DOCROOT chmod g+rw $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data} diff --git a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD index c5be258..65b12db 100755 --- a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD @@ -66,11 +66,12 @@ build() { # install db schema, scripts and docs install -m0644 database/mc.sql $startdir/pkg/usr/share/mythtv/ || return 1 install -D -m0755 ../mythbackend $startdir/pkg/etc/rc.d/mythbackend || return 1 - cp -r docs $startdir/pkg/usr/share/mythtv/ || return 1 - # cp ../QUICKSTART.archlinux $startdir/pkg/usr/share/mythtv/ || return 1 +# cp -r docs $startdir/pkg/usr/share/mythtv/ || return 1 + rsync -arp --exclude .svn --delete-excluded docs $startdir/pkg/usr/share/mythtv/ || return 1 # install contrib - cp -r contrib $startdir/pkg/usr/share/mythtv/ || return 1 + rsync -arp --exclude .svn --delete-excluded contrib $startdir/pkg/usr/share/mythtv/ || return 1 + #cp -r contrib $startdir/pkg/usr/share/mythtv/ || return 1 # patch the xml LinHES style cp -r $startdir/menu-xml/*.xml $startdir/pkg/usr/share/mythtv/themes/defaultmenu/ diff --git a/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD b/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD index 3773e89..dedfcf5 100644 --- a/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD +++ b/abs/core-testing/mythtv/trunk/mythweb/PKGBUILD @@ -40,9 +40,10 @@ build() { mkdir -p $startdir/pkg/$DOCROOT/{image_cache,php_sessions} - cp -r $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT +# cp -r $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT # cp $startdir/src/mythplugins-$pkgver/mythweb/data/.htaccess $startdir/pkg/$DOCROOT - rm $startdir/pkg/srv/$DOCROOT/README + rsync -arp --exclude .svn --delete-excluded $startdir/src/mythplugins/mythweb/* $startdir/pkg/$DOCROOT + rm $startdir/pkg/$DOCROOT/README chown -R http:users $startdir/pkg/$DOCROOT chmod g+rw $startdir/pkg/$DOCROOT/{image_cache,php_sessions,data} -- cgit v0.12