summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/mythtv/trunk')
-rwxr-xr-xabs/core-testing/mythtv/trunk/mythtv/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
index d5560bd..56929a7 100755
--- a/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/trunk/mythtv/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mythtv-svn
-pkgver=19295
+pkgver=19957
pkgrel=1
pkgdesc="A personal video recorder for Linux"
url="http://www.mythtv.org"
@@ -23,8 +23,9 @@ _svnmod=mythtv
build() {
-# svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
- svn co $_svntrunk $_svnmod
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+# svn co $_svntrunk --config-dir ./ $_svnmod
+
cd $startdir/src/mythtv
echo "--------------------------applying patches----------------------------------------------------"
@@ -37,7 +38,9 @@ build() {
echo "--------------------------done applying patches-----------------------------------------------"
sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro
- make distclean
+
+ [ "$CARCH" = "i686" ] && ARCH="i686"
+ [ "$CARCH" = "x86_64" ] && ARCH="x86-64"
# configure
./configure --prefix=/usr --cpu=${ARCH} \