diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-04 07:33:30 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-04 07:33:30 (GMT) |
commit | de42bea0019cfba3a5681e19e35f22a338a0d7ad (patch) | |
tree | a6f217be9c61ff684070264f74765e9ccce6d76e | |
parent | f3c7c6c3c3d93aff2ac4ccb9c5430ee7eb0faf81 (diff) | |
download | linhes_pkgbuild-de42bea0019cfba3a5681e19e35f22a338a0d7ad.zip linhes_pkgbuild-de42bea0019cfba3a5681e19e35f22a338a0d7ad.tar.gz linhes_pkgbuild-de42bea0019cfba3a5681e19e35f22a338a0d7ad.tar.bz2 |
Bumped version to include mythvideo.install which, creates symlinks for video dir in MythWeb.
-rw-r--r-- | abs/core-testing/mythtv/stable/mythvideo/PKGBUILD | 3 | ||||
-rw-r--r-- | abs/core-testing/mythtv/stable/mythvideo/mythvideo.install | 19 |
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 $* |