summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/mythtv')
-rw-r--r--abs/core-testing/mythtv/stable/mythvideo/PKGBUILD3
-rw-r--r--abs/core-testing/mythtv/stable/mythvideo/mythvideo.install19
2 files changed, 21 insertions, 1 deletions
diff --git a/abs/core-testing/mythtv/stable/mythvideo/PKGBUILD b/abs/core-testing/mythtv/stable/mythvideo/PKGBUILD
index a1bab3f..3fc71c5 100644
--- a/abs/core-testing/mythtv/stable/mythvideo/PKGBUILD
+++ b/abs/core-testing/mythtv/stable/mythvideo/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mythvideo
pkgver=0.21
-pkgrel=3
+pkgrel=4
pkgdesc="Video playback and browsing plugin for MythTV"
arch=('i686' 'x86_64')
url="http://www.mythtv.org"
@@ -15,6 +15,7 @@ source=("ftp://ftp.knoppmyth.net/R6/sources/mythplugins-$pkgver-fixes.tar.bz2"\
md5sums=('00ee70be781b9af5913f046525d79ab9' '476c12ba074794ad7f4ae092bdf949d6')
replaces=('mythdvd')
groups=('mythtv-extras')
+install=mythvideo.install
build() {
cd $startdir/src/mythplugins
diff --git a/abs/core-testing/mythtv/stable/mythvideo/mythvideo.install b/abs/core-testing/mythtv/stable/mythvideo/mythvideo.install
new file mode 100644
index 0000000..177cc93
--- /dev/null
+++ b/abs/core-testing/mythtv/stable/mythvideo/mythvideo.install
@@ -0,0 +1,19 @@
+# arg 1: the new package version
+post_install() {
+ ln -s /myth/video /data/srv/httpd/htdocs/mythweb/data/video
+ ln -s /myth/video/.covers /data/srv/httpd/htdocs/mythweb/data/video_covers
+}
+# arg 1: the new package version
+# arg 2: the old package version
+#post_upgrade() {
+#}
+
+# arg 1: the old package version
+post_remove() {
+ rm -fr /data/srv/httpd/htdocs/mythweb/data/video
+ rm -fr /data/srv/httpd/htdocs/mythweb/data/video_covers
+#}
+
+op=$1
+shift
+$op $*