# $Id: PKGBUILD 177740 2013-02-08 08:58:14Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdemultimedia-ffmpegthumbs pkgver=4.10.0 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=('7ce2edec3efd081bb65f58455c7db476e09d8bd0') 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 }