# $Id: PKGBUILD 213258 2014-05-19 15:03:26Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdemultimedia-ffmpegthumbs pkgver=4.13.1 pkgrel=1 pkgdesc='FFmpeg-based thumbnail creator for video files' url='https://projects.kde.org/projects/kde/kdemultimedia/ffmpegthumbs' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdemultimedia') depends=('kdelibs' 'ffmpeg') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/ffmpegthumbs-${pkgver}.tar.xz") sha1sums=('97db800e7f7eab2e62d9d75fdce38bf80161eb92') build() { cd "${srcdir}" mkdir build cd build cmake ../ffmpegthumbs-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }