summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-03-26 19:51:12 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-03-26 19:51:12 (GMT)
commitc7deae73bc996a769a143de71b5c4c7e4f439e6e (patch)
treec4e0ee514f0e1109f0abfa44d6d40dab61316cb5 /abs
parentfdb5c003b67137ad55a6605b0fd5da1738185b4b (diff)
downloadlinhes_pkgbuild-c7deae73bc996a769a143de71b5c4c7e4f439e6e.zip
linhes_pkgbuild-c7deae73bc996a769a143de71b5c4c7e4f439e6e.tar.gz
linhes_pkgbuild-c7deae73bc996a769a143de71b5c4c7e4f439e6e.tar.bz2
mythtv | mythweb : stable and fixes remove copy statements that will include .svn directories
ref #633
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core-testing/mythtv/stable-0.22/mythtv/PKGBUILD8
-rw-r--r--abs/core-testing/mythtv/stable-0.22/mythweb/PKGBUILD8
-rwxr-xr-xabs/core-testing/mythtv/trunk/mythtv/PKGBUILD7
-rw-r--r--abs/core-testing/mythtv/trunk/mythweb/PKGBUILD5
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}