diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-09 03:10:28 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-09 03:10:28 (GMT) |
commit | 77fdb63da0abe101d2a110586f51a17f0d49549c (patch) | |
tree | 23d6ebd32a8894db66b722e3a01a2c951e82a365 | |
parent | 6b218299785aedd78128a9c7831aff1a6eefdcb8 (diff) | |
download | linhes_pkgbuild-77fdb63da0abe101d2a110586f51a17f0d49549c.zip linhes_pkgbuild-77fdb63da0abe101d2a110586f51a17f0d49549c.tar.gz linhes_pkgbuild-77fdb63da0abe101d2a110586f51a17f0d49549c.tar.bz2 |
mythtv: cosmetic PKGBUILD tweaks
-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 \ |