desktop/fdesktoprecorder/PKGBUILD
2012-02-06 18:05:49 +00:00

31 lines
1.0 KiB
Bash

# Contributor: Adria Arrufat <swiftscythe@gmail.com>
# maintainer: abveritas@chakra-project.org
pkgname=fdesktoprecorder
pkgver=20120206
_pkgver=cf4f228
pkgrel=3
pkgdesc="A program that can video record a single window or your entire desktop using ffmpeg."
arch=('i686' 'x86_64')
url="http://opendesktop.org/content/show.php?content=147844"
depends=('qt' 'ffmpeg')
makedepends=('cmake' 'automoc4' 'kdelibs')
source=(https://github.com/froksen/FDesktopRecorder/tarball/master/froksen-FDesktopRecorder-${_pkgver}.tar.gz)
license=('GPL')
md5sums=('1f2c2173495461fbcbbf8c3a975635c5')
build() {
cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}
qmake
make
}
package() {
mkdir -p ${pkgdir}/usr/{bin,share/{applications,pixmaps}}
install -m644 ${startdir}/FDesktopRecorder.desktop ${pkgdir}/usr/share/applications/FDesktopRecorder.desktop
cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}
install -m755 FDesktopRecorder ${pkgdir}/usr/bin/FDesktopRecorder
install -m644 images/icon.png ${pkgdir}/usr/share/pixmaps/fdesktoprecorder.png
}