diff options
-rwxr-xr-x | abs/core/mythtv/stable-0.24/PKGBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/abs/core/mythtv/stable-0.24/PKGBUILD b/abs/core/mythtv/stable-0.24/PKGBUILD index 002c6c1..a935c76 100755 --- a/abs/core/mythtv/stable-0.24/PKGBUILD +++ b/abs/core/mythtv/stable-0.24/PKGBUILD @@ -23,7 +23,6 @@ groups=('pvr') #options=(!strip) #MAKEFLAGS="-j6" install='mythtv.install' -patchs=() patchs=('smolt_jump.patch') optdepends=('xmltv: to download tv listings') #replaces=('mythtv-contrib') @@ -39,11 +38,13 @@ build() { if [ -d "${srcdir}/${pkgname}" ] then cd "${srcdir}/${pkgname}" - echo "Updating from SVN..." + msg "Clean up previous build..." + make distclean + msg "Updating from SVN..." svn up - else + else cd "${srcdir}" - echo "Checking Out from SVN..." + msg "Checking Out from SVN..." svn co "${_svntrunk}/${_svnmod}" cd "${srcdir}/${pkgname}" fi @@ -61,12 +62,6 @@ build() { sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro find bindings/python contrib -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@' - # clean up from last build - # echo " simple configure to make sure the distclean works" - # ./configure - # make distclean - # echo "our configure" - ARCH=${CARCH/_/-} ./configure --prefix=/usr --cpu=${ARCH} \ --disable-audio-jack \ |