summaryrefslogtreecommitdiff
path: root/community/qt-recordmydesktop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt-recordmydesktop/PKGBUILD')
-rw-r--r--community/qt-recordmydesktop/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/qt-recordmydesktop/PKGBUILD b/community/qt-recordmydesktop/PKGBUILD
new file mode 100644
index 000000000..06eeecf79
--- /dev/null
+++ b/community/qt-recordmydesktop/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Maintainer: Daniel J Griffiths <griffithsdj@archlinux.us>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Marc poiroud <marci1 AT archlinux.fr>
+
+pkgname=qt-recordmydesktop
+pkgver=0.3.8
+pkgrel=4
+pkgdesc="Qt4 frontend for recordMyDesktop"
+arch=('i686' 'x86_64')
+url="http://recordmydesktop.sourceforge.net"
+license=('GPL')
+depends=('recordmydesktop>=0.3.8.1' 'python2-qt')
+source=(http://downloads.sourceforge.net/sourceforge/recordmydesktop/${pkgname}-${pkgver}.tar.gz)
+md5sums=('bf1525740755615ae172ae27fef68fb5')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # python2 fix
+ 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
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}