summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/community/mre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/not_built/extra/community/mre/PKGBUILD')
-rw-r--r--abs/not_built/extra/community/mre/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/not_built/extra/community/mre/PKGBUILD b/abs/not_built/extra/community/mre/PKGBUILD
new file mode 100644
index 0000000..4868d33
--- /dev/null
+++ b/abs/not_built/extra/community/mre/PKGBUILD
@@ -0,0 +1,35 @@
+pkgname=mre
+pkgver=1.1.2
+pkgrel=6
+_kernver=2.6.36-LinHES
+pkgdesc="Myth Recording Extender"
+arch=('i686')
+url="http://sourceforge.net/projects/mythtv-tools/"
+license=('GPL-2')
+depends=('peardb' 'pearlog')
+source=('mre-1.1.2.tar.gz' 'patch.diff' 'run' 'mre.lr')
+install=('mre.install')
+
+build() {
+ cd ${srcdir}/mre-1.1.2/
+ patch -p0 < ../patch.diff
+ ./configure
+ make INST_ROOT=${pkgdir} install
+ cp ${srcdir}/mre-1.1.2/conf/mre.conf ${pkgdir}/etc/mre.conf
+ cp ${srcdir}/mre-1.1.2/test/test_title_subtitle.php\
+ ${pkgdir}/usr/local/bin/
+ chmod a+x ${pkgdir}/usr/local/bin/test_title_subtitle.php
+ rm -r ${pkgdir}/etc/init.d
+ mkdir -p ${pkgdir}/var/log/mre
+ chown root:log "${pkgdir}/var/log/mre"
+ touch ${pkgdir}/var/log/mre/mre.log
+ chown mythtv:mythtv "${pkgdir}/var/log/mre/mre.log"
+ mkdir -p ${pkgdir}/etc/sv/mre
+ cp ${srcdir}/run ${pkgdir}/etc/sv/mre/run
+ mkdir -p ${pkgdir}/etc/logrotate.d
+ cp ${srcdir}/mre.lr ${pkgdir}/etc/logrotate.d/mre.lr
+}
+md5sums=('8ab312e7597ae9413a57bd5e9a068096'
+ 'ed6cb9012c88d589e26132796132bf25'
+ '10e01d572b45ad718e49ff9ef5c230c5'
+ '6d71ab57afd974c5130c994b94e8746f')