summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mre/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
commitb172f79fadb565ecfbcec9508f9377d8618a4f4c (patch)
treebf8823b07e3313c3afa000a9b31e4f9a735cb818 /abs/extra/community/mre/PKGBUILD
parentf9d54ab7c3853208484e304bc6cf40ab0f79d400 (diff)
parent5e7027c6194237ca1dc5fcbb3648483a970fb500 (diff)
downloadlinhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.zip
linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.gz
linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra/community/mre/PKGBUILD')
-rw-r--r--abs/extra/community/mre/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra/community/mre/PKGBUILD b/abs/extra/community/mre/PKGBUILD
new file mode 100644
index 0000000..72d3bc3
--- /dev/null
+++ b/abs/extra/community/mre/PKGBUILD
@@ -0,0 +1,41 @@
+arch=('i686')
+pkgname=mre
+pkgver=1.1.2
+pkgrel=2
+_kernver=2.6.28-LinHES
+pkgdesc="Myth Recording Extender"
+url="http://sourceforge.net/projects/mythtv-tools/"
+license=('GPL-2')
+depends=('PearDB' 'PearLog')
+makedepends=()
+source=('mre-1.1.2.tar.gz' 'patch.diff' 'livescores.tgz' 'run' 'mre.lr')
+install=('mre.install')
+
+build() {
+ cd $startdir/src/mre-1.1.2/
+ patch -p0 < ../patch.diff
+ ./configure
+ make INST_ROOT=$startdir/pkg install
+ cp $startdir/src/mre-1.1.2/conf/mre.conf $startdir/pkg/etc/mre.conf
+ cp $startdir/src/mre-1.1.2/test/test_title_subtitle.php\
+ $startdir/pkg/usr/local/bin/
+ chmod a+x $startdir/pkg/usr/local/bin/test_title_subtitle.php
+ rm -r $startdir/pkg/etc/init.d
+ mkdir -p $startdir/pkg/var/log/mre
+ touch $startdir/pkg/var/log/mre/mre.log
+ chown mythtv:mythtv "$startdir/pkg/var/log/mre/mre.log"
+ mkdir -p $startdir/pkg/etc/sv/mre
+ cp $startdir/src/run $startdir/pkg/etc/sv/mre/run
+ mkdir -p $startdir/pkg/etc/logrotate.d
+ cp $startdir/src/mre.lr $startdir/pkg/etc/logrotate.d/mre.lr
+ mkdir -p $startdir/pkg/data/srv/http/htdocs/
+ cp -r $startdir/src/scores /$startdir/pkg/data/srv/http/htdocs/
+ chown -R http:users "$startdir/pkg/data/srv/http/htdocs/scores"
+}
+
+
+md5sums=('8ab312e7597ae9413a57bd5e9a068096'
+ 'd2591989da512c0faa567408721b6e95'
+ 'fcc02a234b22ba5c2714a6b8dbaf3bef'
+ 'dea22d4e0f2c1dd8a2debd2f50756dda'
+ '6d71ab57afd974c5130c994b94e8746f')