updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / recorditnow / PKGBUILD
blobeeaf7f00a9006381685ab14502c1b2d49871373d
1 # Mantainer: AdriĆ  Arrufat <swiftscythe@gmail.com>
2 # Contributor: Callea Gaetano Andrea <callea:gaetano:andrea/gmail:com>
4 pkgname=recorditnow
5 pkgver=0.8.1
6 pkgrel=2
7 pkgdesc="A plugin based desktop recorder for KDE SC 4"
8 arch=('i686' 'x86_64')
9 url="http://kde-apps.org/content/show.php/RecordItNow?content=114610"
10 license=('GPL')
11 depends=('kdebase-runtime' 'recordmydesktop')
12 makedepends=('cmake' 'automoc4')
13 optdepends=('ffmpeg:for ffmpeg encoder plugin'\
14              'mencoder: for mencoder encoder plugin'\
15              'xfixes: for mouse cursor in screenshots')
16 provides=('recorditnow' 'joschy')
17 conflicts=('joschy-git')
18 source=(http://downloads.sourceforge.net/project/recorditnow/${pkgname}-${pkgver}.tar.bz2)
19 md5sums=('6619b4048545adbab1d13a790189e80f')
21 build() {
22     cd ${srcdir}/$pkgname-$pkgver/
23     if [[ ! -d build ]]; then
24                mkdir build
25         fi
26     cd build
27     cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release -DLINGUAS="de hu cs pt_BR fr" ../
28     make  || return 1
29     make DESTDIR=${startdir}/pkg/ install