summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2010-07-12 20:03:39 (GMT)
committerBritney Fransen <brfransen@gmail.com>2010-07-12 20:03:39 (GMT)
commit74d0525e39d2bc14095b63c8efbb1e92d77d0db7 (patch)
tree63da3d59a7594cabb2ed4d360863b9eeb458b754
parent4e5245eb6237a900e402c06d43fcf7718fe8d98a (diff)
downloadlinhes_pkgbuild-74d0525e39d2bc14095b63c8efbb1e92d77d0db7.zip
linhes_pkgbuild-74d0525e39d2bc14095b63c8efbb1e92d77d0db7.tar.gz
linhes_pkgbuild-74d0525e39d2bc14095b63c8efbb1e92d77d0db7.tar.bz2
mythstream: change is.xml location
-rw-r--r--abs/core-testing/mythstream/PKGBUILD3
-rw-r--r--abs/core-testing/mythstream/mythstream.install8
2 files changed, 6 insertions, 5 deletions
diff --git a/abs/core-testing/mythstream/PKGBUILD b/abs/core-testing/mythstream/PKGBUILD
index f848081..023bf01 100644
--- a/abs/core-testing/mythstream/PKGBUILD
+++ b/abs/core-testing/mythstream/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mythstream
pkgver=0.18_3
-pkgrel=7
+pkgrel=8
pkgdesc="Unofficial MythTV plugin for Internet audio and video streams."
arch=('i686' 'x86_64')
url="http://home.kabelfoon.nl/~moongies/streamtuned.html"
@@ -31,6 +31,7 @@ build() {
make INSTALL_ROOT=$startdir/pkg install
cp $srcdir/streams.res $pkgdir/usr/share/mythtv/mythstream
}
+
md5sums=('ba354b83fefe6028c5379fb832a44b6a'
'0131d9e05b55141357bc66e2a88a8132'
'b7fb47a56b6809938f237632174faeb2')
diff --git a/abs/core-testing/mythstream/mythstream.install b/abs/core-testing/mythstream/mythstream.install
index 5af96f2..3b87835 100644
--- a/abs/core-testing/mythstream/mythstream.install
+++ b/abs/core-testing/mythstream/mythstream.install
@@ -1,6 +1,6 @@
# arg 1: the new package version
post_install() {
- mv /usr/share/mythtv/is.xml /tmp
+ mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp
grep -v -e /mythmenu /tmp/is.xml > /tmp/is.xml.tmp
echo "<!--#MythStream-->" >> /tmp/is.xml.tmp
echo " <button>" >> /tmp/is.xml.tmp
@@ -11,11 +11,11 @@ post_install() {
echo "<!--#MythStream-->" >> /tmp/is.xml.tmp
echo "" >> /tmp/is.xml.tmp
echo "</mythmenu>" >> /tmp/is.xml.tmp
- mv /tmp/is.xml.tmp /usr/share/mythtv/is.xml
+ mv /tmp/is.xml.tmp /usr/share/mythtv/themes/defaultmenu/is.xml
}
post_remove() {
- mv /usr/share/mythtv/is.xml /tmp/is.xml.tmp
- sed -e '/\#MythStream/,/\#MythStream/d' < /tmp/is.xml.tmp > /usr/share/mythtv/is.xml
+ mv /usr/share/mythtv/themes/defaultmenu/is.xml /tmp/is.xml.tmp
+ sed -e '/\#MythStream/,/\#MythStream/d' < /tmp/is.xml.tmp > /usr/share/mythtv/themes/defaultmenu/is.xml
}
op=$1