[arch-commits] Commit in mythtv/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Thu Sep 23 10:45:09 UTC 2010
Date: Thursday, September 23, 2010 @ 06:45:09
Author: remy
Revision: 91139
upgpkg: mythtv 25574-2
Rebuild for python2.7
Modified:
mythtv/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-23 08:30:10 UTC (rev 91138)
+++ PKGBUILD 2010-09-23 10:45:09 UTC (rev 91139)
@@ -6,7 +6,7 @@
pkgname=mythtv
pkgver=25574
-pkgrel=1
+pkgrel=2
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
url="http://www.mythtv.org/"
@@ -30,6 +30,7 @@
build() {
cd "${srcdir}/${pkgname}"
+ find bindings/python contrib -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
ARCH=${CARCH/_/-}
./configure --prefix=/usr --cpu=${ARCH} \
@@ -62,10 +63,14 @@
--enable-xrandr \
--enable-xv \
--enable-x11 \
- --with-bindings=perl,python
+ --with-bindings=perl,python --python=python2
qmake mythtv.pro
make all
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
# basic install
make INSTALL_ROOT="${pkgdir}" install
install -D -m0755 ${srcdir}/mythbackend "${pkgdir}/etc/rc.d/mythbackend"
More information about the arch-commits
mailing list