diff options
author | root <root@rshg054.dnsready.net> | 2013-01-05 00:38:32 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-01-05 00:38:32 -0800 |
commit | 2586a8c75ef351dbd1b31605644e101e92d2c280 (patch) | |
tree | 75b5ec37752d80f987f98ad0f10789ce6139d8cd /community/recorditnow/PKGBUILD | |
parent | 782a0d2109c292b60e7de038df66525a81b21429 (diff) |
Sat Jan 5 00:38:32 PST 2013
Diffstat (limited to 'community/recorditnow/PKGBUILD')
-rw-r--r-- | community/recorditnow/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/recorditnow/PKGBUILD b/community/recorditnow/PKGBUILD new file mode 100644 index 000000000..c50ff5d41 --- /dev/null +++ b/community/recorditnow/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 81949 2013-01-04 08:45:38Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: Yichao Yu <yyc1992@gmail.com> +# Contributor: Weng Xuetian <wengxt@gmail.com> +# Contributor: AdriĆ Arrufat <swiftscythe@gmail.com> +# Contributor: Callea Gaetano Andrea <callea:gaetano:andrea/gmail:com> + +pkgname=recorditnow +pkgver=0.8.1 +pkgrel=4 +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' 'recordmydesktop' 'ffmpeg' 'xdg-utils') +makedepends=('cmake' 'automoc4') +optdepends=('mencoder: for mencoder encoder plugin') +provides=('recorditnow' '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 +} |