summaryrefslogtreecommitdiffstats
path: root/abs/extra/mythexport
diff options
context:
space:
mode:
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 $*