# $Id: PKGBUILD 152094 2012-03-04 14:56:17Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-thumbnailers pkgver=4.8.0 pkgrel=1 pkgdesc="Thumbnailers for various graphics file formats" url="http://kde.org/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('libkexiv2' 'libkdcraw') makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/stable/${pkgver}/src/xz/${pkgname}-${pkgver}.tar.xz") sha1sums=('acaf1e7f44c3e65619ece032b9165ade65e418b5') build() { cd "${srcdir}" mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }