PKGBUILD 1.13 KB
Newer Older
Neophytos's avatar
Neophytos committed
1
 
2 3 4 5
# Contributor: Adria Arrufat <swiftscythe@gmail.com>
# maintainer: abveritas@chakra-project.org

pkgname=fdesktoprecorder
Neophytos's avatar
Neophytos committed
6 7 8
pkgver=20120215
_pkgver=bdc523b
pkgrel=1
9 10 11 12
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')
Neophytos's avatar
Neophytos committed
13
makedepends=('cmake' 'automoc4' 'kdelibs' 'desktop-file-utils')
Neophytos's avatar
Neophytos committed
14
source=("https://github.com/froksen/FDesktopRecorder/tarball/master/froksen-FDesktopRecorder-${_pkgver}.tar.gz")
15
license=('GPL')
Neophytos's avatar
Neophytos committed
16
md5sums=('359e57313b9bd6faa92f326b2dc40b5b')
17 18

build() {
Neophytos's avatar
Neophytos committed
19 20
  cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}/source
  qmake FDesktopRecorder.pro
21 22 23 24 25
  make
}

package() {
  mkdir -p ${pkgdir}/usr/{bin,share/{applications,pixmaps}}
Neophytos's avatar
Neophytos committed
26
  cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}/source
27
  install -m755 FDesktopRecorder ${pkgdir}/usr/bin/FDesktopRecorder
Neophytos's avatar
Neophytos committed
28
  install -m644 images/icon.png ${pkgdir}/usr/share/pixmaps/fdesktoprecorder.png
Neophytos's avatar
Neophytos committed
29 30
  cd ${srcdir}/froksen-FDesktopRecorder-${_pkgver}/Desktop
  install -m644 FDesktopRecorder.desktop ${pkgdir}/usr/share/applications/FDesktopRecorder.desktop
31
}