From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/recorditnow/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 community/recorditnow/PKGBUILD (limited to 'community/recorditnow/PKGBUILD') diff --git a/community/recorditnow/PKGBUILD b/community/recorditnow/PKGBUILD new file mode 100644 index 000000000..f3c003518 --- /dev/null +++ b/community/recorditnow/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 93279 2013-07-01 05:44:50Z fyan $ +# Maintainer: Felix Yan +# Contributor: Yichao Yu +# Contributor: Weng Xuetian +# Contributor: AdriĆ  Arrufat +# Contributor: Callea Gaetano Andrea + +pkgname=recorditnow +pkgver=0.8.1 +pkgrel=5 +pkgdesc="A plugin based desktop recorder for KDE SC 4" +arch=('i686' 'x86_64') +url="http://kde-apps.org/content/show.php/RecordItNow?content=114610" +license=('GPL') +depends=('kdebase-runtime' 'ffmpeg' 'xdg-utils') +makedepends=('cmake' 'automoc4' 'recordmydesktop') +optdepends=('mencoder: for mencoder encoder plugin' + 'recordmydesktop') +provides=('joschy') +conflicts=('joschy-git') +install=recorditnow.install +source=("http://downloads.sourceforge.net/project/recorditnow/${pkgname}-${pkgver}.tar.bz2" + "cmake.patch") +md5sums=('6619b4048545adbab1d13a790189e80f' + '74ea0ababc2291e2a62e5d045c62616a') + +build() { + cd "${srcdir}/$pkgname-$pkgver" + patch -i "${srcdir}/cmake.patch" -p0 + + mkdir -p build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \ + -DLINGUAS="de hu cs pt_BR fr it" .. + make +} + +package() { + cd "${srcdir}/$pkgname-$pkgver/build" + make DESTDIR="${pkgdir}" install + + if [[ "$CARCH" == "x86_64" ]]; then + cd "$pkgdir/usr" + mv lib64/* lib + rmdir lib64 + fi +} -- cgit v1.2.3-54-g00ecf