From f38908ca3ffe3bfca6f795e991635cb5af222662 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 7 Dec 2010 01:38:37 +0000
Subject: mre: recompile

---
 abs/extra/community/mre/PKGBUILD | 40 +++++++++++++++++++---------------------
 1 file changed, 19 insertions(+), 21 deletions(-)

diff --git a/abs/extra/community/mre/PKGBUILD b/abs/extra/community/mre/PKGBUILD
index 0987904..4868d33 100644
--- a/abs/extra/community/mre/PKGBUILD
+++ b/abs/extra/community/mre/PKGBUILD
@@ -1,36 +1,34 @@
-arch=('i686')
 pkgname=mre
 pkgver=1.1.2
-pkgrel=5
-_kernver=2.6.28-LinHES
+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')
-makedepends=()
+depends=('peardb' 'pearlog')
 source=('mre-1.1.2.tar.gz' 'patch.diff' 'run' 'mre.lr')
 install=('mre.install')
 
 build() {
-	cd $startdir/src/mre-1.1.2/
+	cd ${srcdir}/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
-	chown root:log "$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
+	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'
-- 
cgit v0.12