# $Id: PKGBUILD 128541 2011-06-24 12:43:00Z andrea $ # Maintainer: Andrea Scarpino pkgname=libkdcraw pkgver=4.6.90 pkgrel=1 pkgdesc="A C++ interface used to decode RAW picture" url="http://kde.org/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdelibs' 'lcms') makedepends=('cmake' 'automoc4') conflicts=('kdegraphics-libs') install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") sha1sums=('4ea47528716db93c0b3a0fa5abcd9dde0148eb78') 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 }