summaryrefslogtreecommitdiffstats
path: root/extra/qt-recordmydesktop/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qt-recordmydesktop/Pkgfile')
-rw-r--r--extra/qt-recordmydesktop/Pkgfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/qt-recordmydesktop/Pkgfile b/extra/qt-recordmydesktop/Pkgfile
index 4fb2ce4a9..5773462e3 100644
--- a/extra/qt-recordmydesktop/Pkgfile
+++ b/extra/qt-recordmydesktop/Pkgfile
@@ -3,14 +3,18 @@
# Maintainer: NuTyX core team
# Packager: fanch
# Depends on: recordmydesktop, pyqt
+
name=qt-recordmydesktop
version=0.3.8
release=1
-source=(http://downloads.sourceforge.net/project/recordmydesktop/qt-recordMyDesktop/0.3.8/qt-recordmydesktop-0.3.8.tar.gz)
+
+source=(http://downloads.sourceforge.net/project/recordmydesktop/qt-recordMyDesktop/$version/$name-$version.tar.gz)
build()
{
cd $name-$version
+ sed -i 's|PYQT4_VERSION=`python -c|PYQT4_VERSION=`python2 -c|' configure
+ sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' src/qt-recordMyDesktop.in
./configure --prefix=/usr
make
make DESTDIR=$PKG install