summaryrefslogtreecommitdiffstats
path: root/abs/extra/mythexport
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/extra/mythexport
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/extra/mythexport')
-rw-r--r--abs/extra/mythexport/PKGBUILD17
-rw-r--r--abs/extra/mythexport/mythexport.install10
2 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra/mythexport/PKGBUILD b/abs/extra/mythexport/PKGBUILD
new file mode 100644
index 0000000..3cd04f3
--- /dev/null
+++ b/abs/extra/mythexport/PKGBUILD
@@ -0,0 +1,17 @@
+# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
+# Maintainer: Cecil Watson<knoppmyth@gmail.com>
+
+pkgname=mythexport
+pkgver=2.0.71
+pkgrel=5
+pkgdesc="Script to export recordings for portable devices."
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('atomicparsley' 'perl-config-simple' 'perl-net-upnp' 'perl-proc-daemon' 'perl-proc-pid-file')
+url="http://linhes.org/"
+source=(ftp://ftp.knoppmyth.net/R6/sources/mythexport.tar.bz2)
+install=mythexport.install
+
+build() {
+ cp -a mythexport/* $startdir/pkg
+}
diff --git a/abs/extra/mythexport/mythexport.install b/abs/extra/mythexport/mythexport.install
new file mode 100644
index 0000000..edd60f5
--- /dev/null
+++ b/abs/extra/mythexport/mythexport.install
@@ -0,0 +1,10 @@
+# arg 1: the new package version
+post_install() {
+ mysql -u root mythconverg < /usr/share/mythtv/mythexport.sql
+ ln -s /usr/share/mythtv/mythexport /data/srv/httpd/htdocs/
+ ln -s /myth/archive /usr/share/mythtv/mythexport/video
+}
+
+op=$1
+shift
+$op $*